Comment remplacer RSA 4096 bits de Let's Encrypt par ECC 256 bits ?

Comment remplacer le certificat Let’s Encrypt de Discourse de RSA 4096 bits à ECC 256 bits ?

Je souhaite que cela soit permanent sur mon installation, même après une mise à jour de Discourse. Est-ce possible ?

@mpalmer does this request make sense to you? Is there anything off with our current certificate config in NGINX?

OK per What is RSA, DSA and ECC? ECC is latest and greatest, so I guess we should at least document how to do this. Not sure.

I’m ambivalent on documenting it. The benefits of wholesale replacing an RSA certificate with an ECC one are so niche, and the potential downsides so great, that we’d probably end up with more “I did this thing without considering the consequences AND IT’S ALL YOUR FAULT” topics than “I have a legitimate use case for an ECC cert but can’t figure out how to modify the template to make it happen”.

That’s an empty set. I’d bet on it. :beers:

It is an option you just have to figure out how to write the template and mix it in

Est-ce que cela suffit de modifier les lignes 59 et 63 dans ce fichier ?
Et ensuite reconstruire Discourse ?

La modification des lignes 59 et 63 dans /templates/web.letsencrypt.ssl.template.yml n’a pas fonctionné.
Mon code :

Peut-être que cela fonctionnera si je force le renouvellement ou la génération d’un nouveau certificat ?
Quelle est la commande dans Discourse ?
Merci !

@gerhard a implémenté cela en 2019