misc_tricks
Differences
This shows you the differences between two versions of the page.
misc_tricks [2016/07/04 02:35] – created zertrin | misc_tricks [2019/05/30 14:57] (current) – add: Recreate CSR and new cert from existing cert and key OpenSSL zertrin | ||
---|---|---|---|
Line 10: | Line 10: | ||
<link href=" | <link href=" | ||
+ | | ||
+ | ===== Recreate CSR and new cert from existing cert and key OpenSSL ===== | ||
+ | |||
+ | sudo openssl x509 -x509toreq -in cert.pem -out CSR.csr -signkey key.pem | ||
+ | sudo openssl req -in CSR.csr -out cert.pem.new -key key.pem -x509 -days 3650 | ||
+ |
misc_tricks.1467570912.txt.gz · Last modified: by zertrin