Merge pull request #203 from jamescarppe/master

Self-signed SSL generation fixes
pull/204/head
James Carppe 2021-09-03 10:00:21 +12:00 committed by GitHub
commit d516866114
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ To do so, you can use the <code>--ssl</code>, <code>--sslcert</code> and <code>-
To generate and use a self-signed certificate you can use the following command on your server:
<pre><code>openssl req -x509 -newkey rsa:4096 -keyout ~/local-certs/portainer.key -out ~/local-certs/portainer.crt -days 365</code></pre>
<pre><code>openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -keyout ~/local-certs/portainer.key -out ~/local-certs/portainer.crt</code></pre>
Then start Portainer referencing the certificate and key file you just created:

View File

@ -8,7 +8,7 @@ To do so, you can use the <code>--ssl</code>, <code>--sslcert</code> and <code>-
To generate and use a self-signed certificate you can use the following command on your server:
<pre><code>openssl req -x509 -newkey rsa:4096 -keyout ~/local-certs/portainer.key -out ~/local-certs/portainer.crt -days 365</code></pre>
<pre><code>openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -keyout ~/local-certs/portainer.key -out ~/local-certs/portainer.crt</code></pre>
Then start Portainer referencing the certificate and key file you just created: