Skip to content
Snippets Groups Projects
server-openssl.cnf 549 B
Newer Older
  • Learn to ignore specific revisions
  • [req]
    default_bits       = 2048
    distinguished_name = req_distinguished_name
    req_extensions     = req_ext
    prompt             = no
    
    [req_distinguished_name]
    C  = YourCountry
    ST = YourState
    L  = YourCity
    O  = YourOrg
    OU = YourOrgUnit
    CN = your.server.com
    
    [req_ext]
    subjectAltName = @alt_names
    keyUsage = critical, digitalSignature, nonRepudiation, keyEncipherment, keyAgreement
    extendedKeyUsage = serverAuth
    basicConstraints = CA:FALSE
    subjectKeyIdentifier = hash
    
    [alt_names]
    DNS.1 = localhost
    IP.1  = 127.0.0.1
    
    DNS.2 = docker
    DNS.3 = xta-test-server