Allow PortainerCE to connect Remote-Docker
In Remote-ROOT-Dir
mkdir docker-certs
cd docker-certs
openssl genrsa -aes256 -out ca-key.pem 4096
>>
## Generating RSA private key, 4096 bit long modulus (2 primes)
>>## Enter pass phrase for ca-key.pem: ***
>>## Verifying - Enter pass phrase for ca-key.pem: ***
openssl req -new -x509 -key ca-key.pem -sha256 -out ca.pem
## Enter pass phrase for ca-key.pem:
## You are about to be asked to enter information that will be incorporated
## into your certificate request.
## What you are about to enter is what is called a Distinguished Name or a DN.
## Country Name (2 letter code) [XX]:**
## State or Province Name (full name) []:***
## Locality Name (eg, city) [Default City]:***
## Organization Name (eg, company) [Default Company Ltd]: ***
## Organizational Unit Name (eg, section) []: ***
## Common Name (eg, your name or your servers hostname) []:Docker
## Email Address []: info@example.com
openssl genrsa -out server-key.pem 4096
## Generating RSA private key, 4096 bit long modulus (2 primes)
## .....................++++
## .................................................................................................................++++