docs:ipsec:racoon_x509
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| docs:ipsec:racoon_x509 [2013/09/27 18:35] – created root | docs:ipsec:racoon_x509 [2013/09/27 19:43] (current) – root | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Racoon setup with X.509 Certificates ====== | ====== Racoon setup with X.509 Certificates ====== | ||
| + | |||
| + | < | ||
| Racoon supports X.509 certificates for authentication process. These certificates may be validated by a certification authority (CA). The configuration is similar to that using [[docs: | Racoon supports X.509 certificates for authentication process. These certificates may be validated by a certification authority (CA). The configuration is similar to that using [[docs: | ||
| - | ------------------------------------------------------------------------- | + | < |
| - | path certificate "/ | + | |
| remote 192.168.2.100 { | remote 192.168.2.100 { | ||
| Line 25: | Line 26: | ||
| authentication_algorithm hmac_sha1; | authentication_algorithm hmac_sha1; | ||
| compression_algorithm deflate; | compression_algorithm deflate; | ||
| - | } | + | }</ |
| - | + | ||
| - | --------------------------------------------------------------------------- | + | |
| - | Certificate and private key are stored in / | + | Certificate and private key are stored in '' |
| - | ln -s CAfile.pem `openssl x509 -noout -hash < CAfile.pem`.0 | + | < |
| If the certificate should be checked with the CRL, the CRL should be stored in the same directory with a similar link. | If the certificate should be checked with the CRL, the CRL should be stored in the same directory with a similar link. | ||
| - | ln -s CRLfile.pem `openssl x509 -noout -hash < CAfile.pem`.r0 | + | < |
| When we work with certificates and private keys, is important to know that racoon can't decrypt a private key. So, the private key should be available in plain text. | When we work with certificates and private keys, is important to know that racoon can't decrypt a private key. So, the private key should be available in plain text. | ||
| - | With this command we can decrypt a private key and store it in a file. | ||
| - | |||
| - | openssl rsa -in my_private_key.pem -out my_private_key.pem | ||
| - | read RSA key | ||
| - | Enter PEM pass phrase: password | ||
| - | writing RSA key | ||
docs/ipsec/racoon_x509.1380299751.txt.gz · Last modified: 2013/09/27 18:35 by root