💾 Archived View for frosch03.de › 2017-07-26_01.gmi captured on 2021-12-04 at 18:04:22. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-11-30)
-=-=-=-=-=-=-
I recieve every 6 months an email from cacert that is telling me, that my certificates are about to expire. The ask me to renew them and I like to do just that. But usually I have forgotten what steps I need to do. Typically I need to generate a certificate into a different format then my browser presents me with. So therefore I'd like to help myselfe with this post to remember what I need to do in a couple of months.
Goto the CAcert[1] page and login. Then navigate to Client Certificates and click on View. You can see your certificates here and mark alle the ones you would like to renew. Click on Renew to do just that.
Once the renewing is finished you are presented a page containing something similar to this
Now renewing the following certificates: Certificate for 'frosch03@frosch03.de' has been renewed. Click here to install your certificate.
With a click on Click here you will install the certificate into your browser. If you want to you can also download the certificate within various formats.
You now are able to download the certificate from your browser. For firefox goto about:preferences#advanced, select the Certificates tab and click onto View Certificates at the bottom. Within that dialog you are able to select the certificate you want to download, and click on Backup....
Type in a filename that ends with .p12 to indicated that the data are within PKCS12[2] format.
2: https://en.wikipedia.org/wiki/PKCS_12
For the usage within my emacs's mu4e setup, I do need the certificate within PEM[3] format. This can be generated from the certificate in PKCS12 by that command:
3: https://en.wikipedia.org/wiki/Privacy-enhanced_Electronic_Mail
openssl pkcs12 -in <infile.p12> -clcerts > <outfile.pem>
You are asked to enter a password/passphrase for the certificate. Choose wisely here.