Generate SSL certificates for development usage only.
882
Generate a localhost certificate for development usage only.
[req]
default_bits = 2048
prompt = no
default_md = sha256
distinguished_name = dn
[dn]
C=BR
ST=Sao-Paulo
L=Sao-Paulo
O=ORG
OU=OU
emailAddress=yourmail
CN = cn
[req]
default_bits = 2048
prompt = no
default_md = sha256
distinguished_name = dn
[dn]
C=BR
ST=Sao-Paulo
L=Sao-Paulo
O=ORG
OU=OU
emailAddress=yourmail
CN = cn
authorityKeyIdentifier=keyid,issuer
basicConstraints=CA:FALSE
keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment
subjectAltName = @alt_names
[alt_names]
DNS.1 = localhost
Then run this command:
docker run -it -v ${your_dir_path}:/req fminetto/sslgenerator
Follow the instructions.
Your certs will be on certs directory.
Content type
Image
Digest
Size
52.2 MB
Last updated
over 7 years ago
docker pull fminetto/sslgenerator