Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
linux_wiki:openssl [2018/02/22 22:53] billdozor [Generate Self-Signed] |
linux_wiki:openssl [2018/02/22 22:56] billdozor [Generate Self-Signed from Existing Private Key and CSR] |
||
---|---|---|---|
Line 71: | Line 71: | ||
Generate a self-signed cert from an existing private key | Generate a self-signed cert from an existing private key | ||
- | <code bash></ | + | <code bash>openssl req -key MYSITE.key -new -x509 -days 365 -out MYSITE.crt</ |
\\ | \\ | ||
Line 77: | Line 77: | ||
Generate a self-signed cert from an existing private key and existing CSR | Generate a self-signed cert from an existing private key and existing CSR | ||
- | <code bash></ | + | <code bash>openssl x509 -signkey MYSITE.key -in MYSITE.csr -req -days 365 -out MYSITE.crt</ |
---- | ---- |