June 10, 2010

[SOLVED] Convert signing certificate *.crt to *.spc

In order to convert the Certificate(mycert.crt) into a .spc file please run the following command:

openssl crl2pkcs7 -nocrl -certfile mycert.crt -outform DER -out newcertfile.spc

technoninja: thawte signing certificate howto mykey.pvk mycert.spc from .pfx file.

[SOLVED]How do I generate a certificate request with OpenSSL

openssl req \
-new -newkey rsa:1024 -nodes \
-keyout mykey.pem -out myreq.pem

If you’ve already got a key and would like to use it for generating the request, the syntax is a bit simpler.
openssl req -new -key mykey.pem -out myreq.pem

OpenSSL Command-Line HOWTO.