User Tools

Site Tools


sandbox:ssl

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ssl [2018/02/22 19:46] dreiggysandbox:ssl [2021/12/15 21:45] (current) dreiggy
Line 1: Line 1:
 ====== SSL ====== ====== SSL ======
 +
 +Generate self-signed ssl:
 +<code bash>
 +openssl req -new -nodes -x509 -out localhost.crt -newkey rsa:4096 -keyout localhost.key -days 3650
 +</code>
 +or
 +<code bash>
 +openssl req -newkey rsa:2048 -sha256 -nodes -keyout key.pem -x509 -days 3650 -out certificate.pem
 +</code>
  
 SSL certificate match key and cert: SSL certificate match key and cert:
sandbox/ssl.txt · Last modified: 2021/12/15 21:45 by dreiggy

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki