Openssl pkcs12 -export -inkey $CERT_PATH/$1.key -in $CERT_PATH/$1.cer -out $CERT_PATH/$1. Openssl x509 -req -in $CERT_PATH/$1.req -CA $CONF_PATH/ca.cer -CAkey $CONF_PATH/ca.key -set_serial 0x$ -extfile $CONF_PATH/openssl.cnf -extensions client -days $2 -outform PEM -out $CERT_PATH/$1.cer #Create random serial number for each client Openssl req -subj '/C=IN/ST=' -config $CONF_PATH/openssl.cnf -new -key $CERT_PATH/$1.key -out $CERT_PATH/$1.req Openssl genrsa -out $CERT_PATH/$1.key 1024 # export password, Validity and Certificate path #Įcho 'Usage: `basename $0` Client_ID Validity Export-Password Certificate_Path ' # Arguments required: Client_ID,Serial Number(This should be in double quotes),# I get an error saying: 'x509: Error on line 1 of config file 'extfile.cnf' 8C520000:error:07000065:configuration file routines:defloadbio:missing equal sign:crypto\conf\confdef.c:513:HERE-> sline 1'. # This script produces ssl client certificate for the SIS server # openssl x509 -req -sha256 -days 365 -in cert.csr -CA ca.pem -CAkey ca-key.pem -out cert.pem -extfile extfile.cnf -CAcreateserial. The P12 Certificate with I created is not working with any of the browser, it shows imported successfully also. 140172073654160:error:0E079065:configuration file routines:DEFLOADBIO:missing equal sign:confdef. configuration file routines:D the smile after routines is. Now I am facing issue with the P12 certificate which created using SSL Client. 1283:error:0E079065:configuration file routines:DEFLOADBIO:missing equal sign:confdef.c:366:line 1. I have done this, with Centos 6.4 and it works fine.
0 Comments
Leave a Reply. |