花花世界蕾 发表于 2018-11-11 06:20:29

实战Nginx(6)-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: 1 (0x1)
  
      Validity
  
            Not Before: Dec 27 23:11:47 2014 GMT
  
            Not After : Dec 24 23:11:47 2024 GMT
  
      Subject:
  
            countryName               = CN
  
            stateOrProvinceName       = HA
  
            organizationName          = sut31
  
            organizationalUnitName    = ops
  
            commonName                = bbs.stu31.com
  
            emailAddress            = admin@stu31.com
  
      X509v3 extensions:
  
            X509v3 Basic Constraints:
  
                CA:FALSE
  
            Netscape Comment:
  
                OpenSSL Generated Certificate
  
            X509v3 Subject Key Identifier:
  
                16:5B:54:BF:51:25:DF:8A:0D:9C:FE:09:B1:65:E1:AB:A6:CA:9E:2A
  
            X509v3 Authority Key Identifier:
  
                keyid:36:8D:23:60:59:82:3E:EA:ED:F6:02:DC:09:EB:17:04:A4:AB:06:51
  
Certificate is to be certified until Dec 24 23:11:47 2024 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(6)-ssl模块简单应用