Generating Certifcates (Using CVS bootstrap)

Dead6re dead6re at gmail.com
Mon Dec 3 09:50:36 CET 2007


Is there anything I am doing wrong? I try to make some certificates but it
fails.

[root at fedora certs]# rm -f *.pem *.der *.csr *.crt *.key *.p12 serial*
index.txt*
[root at fedora certs]# ./bootstrap
: octal number out of range: 027
: No such file or directory
openssl req -new -x509 -keyout ca.key -out ca.pem -config ./ca.cnf 
Generating a 2048 bit RSA private key
.................+++
...+++
writing new private key to 'ca.key'
-----
openssl req -new  -out server.csr -keyout server.key -config ./server.cnf
Generating a 2048 bit RSA private key
..+++
.+++
writing new private key to 'server.key'
-----
openssl ca -batch -keyfile ca.key -cert ca.pem -in server.csr  -key `grep
output_password ca.cnf | sed 's/.*=//;s/^ *//'` -out server.crt -extensions
xpserver_ext -extfile xpextensions -config ./server.cnf
Using configuration from ./server.cnf
unable to load CA private key
2886:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad
decrypt:evp_enc.c:461:
2886:error:0906A065:PEM routines:PEM_do_header:bad decrypt:pem_lib.c:425:
make: *** [server.crt] Error 1

-- 
View this message in context: http://www.nabble.com/Generating-Certifcates-%28Using-CVS-bootstrap%29-tf4935086.html#a14125831
Sent from the FreeRadius - User mailing list archive at Nabble.com.




More information about the Freeradius-Users mailing list