Различение типов сертификата SSL GoDaddy

Ну, просто передайте по каналу в содержании. например,

echo "message text"|mail -s "subject" someone@example.com
7
задан 25 February 2014 в 00:01
2 ответа
  • gd_bundle-g2-g1.crt: Go Daddy Certificate Bundles - G2 With Cross to G1, includes Root
  • gdig2.crt: Go Daddy Secure Server Certificate (Intermediate Certificate) - G2
  • 2b9918dccf2f1d.crt: Your certificate

Source: https://certs.godaddy.com/anonymous/repository.pki

11
ответ дан 2 December 2019 в 23:21

You can use openssl's x509 subcommand:

openssl x509 -subject -issuer -noout -in cert.pem

and check the output. Should be self explanatory.

An example:

$ openssl x509 -noout -issuer -subject -in gd-class2-root.crt
issuer= /C=US/O=The Go Daddy Group, Inc./OU=Go Daddy Class 2 Certification Authority
subject= /C=US/O=The Go Daddy Group, Inc./OU=Go Daddy Class 2 Certification Authority

$ openssl x509 -noout -issuer -subject -in gd_intermediate.crt
issuer= /C=US/O=The Go Daddy Group, Inc./OU=Go Daddy Class 2 Certification Authority
subject= /C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287

You can also verify the chain of trust:

$ openssl verify -CAfile gd-class2-root.crt gd_intermediate.crt
gd_intermediate.crt: OK
4
ответ дан 2 December 2019 в 23:21

Теги

Похожие вопросы