19
0
Fork 0

Changer clef CA OpenVPN

This commit is contained in:
jdubois 2020-03-11 12:07:35 +01:00
parent a22a161182
commit 3eb8258a8d
1 changed files with 8 additions and 0 deletions

View File

@ -107,6 +107,14 @@ $ rm private.pem private.key
$ mv private-new.pem private.pem
~~~
On peut également changer la clé privée d'une CA, par exemple pour OpenVPN, comme ceci :
~~~
# openssl rsa -in /etc/shellpki/cakey.key -aes256 -out /etc/shellpki/cakey-new.key
# rm /etc/shellpki/cakey.key
# mv /etc/shellpki/cakey-new.key /etc/shellpki/cakey.key
~~~
### Convertir un certificat PEM vers d'autres formats
Voir <http://security.ncsa.illinois.edu/research/grid-howtos/usefulopenssl.html>