$ openssl pkcs12 -in pkcs12file.p12 -out pemfile.pem (by default, pkcs12 will ask for an import password, to decrypt the p12 file (just press Enter if you don't have a password), and finally a passphrase to encrypt your key) pemfile.pem now contains your CA certificate, your client certificate, and your (encrypted) key.
openssl req -new -x509 -days 365 -nodes -out /etc/apache2/ssl/apache.pem -keyout /etc/apache2/ssl/apache.pem hint: to generate a wildcard certificate for multiple name-based virtualhosts, use *.domain.tld as the common name.
First / Previous / Next / Last / Page 1 of 1 (2 posteets)