dengwen3 发表于 2018-11-14 10:14:24

nginx自签ssl证书

# openssl ca -in nginx.csr -out nginx.crt -days 3650  
Using configuration from /etc/pki/tls/openssl.cnf
  
Check that the request matches the signature
  
Signature ok
  
Certificate Details:
  
      Serial Number: 0 (0x0)
  
      Validity
  
            Not Before: Mar5 02:51:37 2016 GMT
  
            Not After : Mar3 02:51:37 2026 GMT
  
      Subject:
  
            countryName               = CN
  
            stateOrProvinceName       = BJ
  
            organizationName          = ZXL
  
            organizationalUnitName    = IT
  
            commonName                = bbs.zxl.com
  
            emailAddress            = zxladmin@zxl.com
  
      X509v3 extensions:
  
            X509v3 Basic Constraints:
  
                CA:FALSE
  
            Netscape Comment:
  
                OpenSSL Generated Certificate
  
            X509v3 Subject Key Identifier:
  
                74:86:87:7B:32:24:5F:2B:03:43:B8:C9:07:AF:76:33:86:21:07:04
  
            X509v3 Authority Key Identifier:
  
                keyid:32:D4:F1:04:8E:D8:37:0C:1F:E3:74:6C:C7:76:7F:FE:8D:1C:BE:E8
  
Certificate is to be certified until Mar3 02:51:37 2026 GMT (3650 days)
  
Sign the certificate? :y
  
1 out of 1 certificate requests certified, commit? y
  
Write out database with 1 new entries
  
Data Base Updated


页: [1]
查看完整版本: nginx自签ssl证书