User Tools

Site Tools


wiki:tech:java-hints:java-and-certificates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:tech:java-hints:java-and-certificates [2020/11/23 16:10] – created kpcwiki:tech:java-hints:java-and-certificates [2020/11/23 17:23] (current) kpc
Line 5: Line 5:
 <code> <code>
 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
 +</code>
 +
 +create x.509 certificate for private key
 +
 +<code>
 +openssl req \
 +       -newkey rsa:2048 -nodes -keyout domain.key \
 +       -x509 -days 365 -out domain.crt
 </code> </code>
  
wiki/tech/java-hints/java-and-certificates.txt · Last modified: 2020/11/23 17:23 by kpc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki