Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:openssl [2018/02/22 22:53] billdozor [Generate Self-Signed] |
linux_wiki:openssl [2019/05/25 23:50] (current) |
||
---|---|---|---|
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</ |
---- | ---- | ||
Line 84: | Line 84: | ||
Converting certificates from one type to another. | Converting certificates from one type to another. | ||
+ | |||
+ | \\ | ||
+ | ===== Extract Cert, Key, CA from PFX ===== | ||
+ | * Extract Key<code bash> | ||
+ | * Extract Certificate< | ||
+ | * Extract Certificate Authority< | ||
\\ | \\ |