![]() Yourconf.cnf is a main config file based on default openssl.cnf included with openssl. Openssl pkcs12 -export -in user.pem -inkey user.key -out user.p12 -name user -caname your_ca_name -chain -CAfile. # convert it into PKCS#12 (pfx) container, that can be used from various soft Openssl ca -policy policy_anything -config yourconf.cnf -out user.pem -infiles user.req Openssl req -new -keyout user.key -out user.req -config yourconf.cnf The main commands are: # generate CA (need to do it only once) Openssl has preconfigured CA.pl or CA.sh script that may be used to setup your CA and generate certificates with minimal configuration. If you have basic knowledge about PKI and X.509 you can do it with openssl.
0 Comments
Leave a Reply. |