wiki:tech:java-hints:java-and-certificates
Differences
This shows you the differences between two versions of the page.
wiki:tech:java-hints:java-and-certificates [2020/11/23 16:10] – created kpc | wiki:tech:java-hints:java-and-certificates [2020/11/23 17:23] (current) – kpc | ||
---|---|---|---|
Line 5: | Line 5: | ||
< | < | ||
openssl pkcs8 -topk8 -inform PEM -in private.key -outform pem -nocrypt -out pkcs8.pem | openssl pkcs8 -topk8 -inform PEM -in private.key -outform pem -nocrypt -out pkcs8.pem | ||
+ | </ | ||
+ | |||
+ | create x.509 certificate for private key | ||
+ | |||
+ | < | ||
+ | openssl req \ | ||
+ | | ||
+ | -x509 -days 365 -out domain.crt | ||
</ | </ | ||
wiki/tech/java-hints/java-and-certificates.1606137031.txt.gz · Last modified: 2020/11/23 16:10 by kpc