Webmin SSL Cert
I have webmin working with its own cert.
I'm just getting annoyed with its self signed cert, and want to create another certificate signed by my CA Root. Everytime I use openssl to create the cert and sign it via the root... webmin won't accept it. Does anyone know the proper switches to create the webmin cert? |
Could you show us how you made it?
|
openssl req -config openssl.cnf -new -out my-server.csr
openssl rsa -in privkey.pem -out my-server.key then have the CA Root (unfortunatly is a 2k DC) sign the csr And then webmin complains that its not pem format... |
then have the CA Root (unfortunatly is a 2k DC) sign the csr
Can you verify the returned cert is a PEM format cert or something else, like PKCS? If it is PKCS, then you could try this: openssl pkcs7 -text -inform PEM -in <DCsignedkey> -print_certs > my-server.crt cat my-server.key > my-server.pem; cat my-server.crt >>my-server.pem then strip the PEM leaving the 1st private key and the last certificate. |
The key only comes in DER or base64 format from the CA Root :(
Anyhow your commands have helped, I got it working, and its being a whore now saying that the name 'doesn't' match.. Even though it actually does, damn webmin, lol. |
All times are GMT -5. The time now is 08:20 PM. |