You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Default output format has changed between OpenSSL versions 1.0.2 and 1.1.1. The -nameopt argument can be used, but it seems to have inconsistent results if you use the -nameopt compat format. There is the option of "negated" format options, e.g -nameopt -online, but can't find a combo that helps. This implies we'd need to check what version of OpenSSL is being used, or change the format of the subject strings everywhere.
1.0.2:
$ openssl x509 -noout -subject < /etc/grid-security/certificates/UKeScienceCA-2B.pem
subject= /C=UK/O=eScienceCA/OU=Authority/CN=UK e-Science CA 2B
$ openssl x509 -noout -nameopt compat -subject < /etc/grid-security/certificates/UKeScienceCA-2B.pem
subject= C=UK, O=eScienceCA, OU=Authority, CN=UK e-Science CA 2B
$ openssl x509 -noout -nameopt oneline -subject < /etc/grid-security/certificates/UKeScienceCA-2B.pem
subject= C = UK, O = eScienceCA, OU = Authority, CN = UK e-Science CA 2B
$ openssl x509 -noout -nameopt -oneline -subject < /etc/grid-security/certificates/UKeScienceCA-2B.pem
subject= C=UK, O=eScienceCA, OU=Authority, CN=UK e-Science CA 2B
1.1.1:
$ openssl x509 -noout -subject < /etc/grid-security/certificates/UKeScienceCA-2B.pem
subject=C = UK, O = eScienceCA, OU = Authority, CN = UK e-Science CA 2B
$ openssl x509 -noout -nameopt compat -subject < certificate.crt
subject=/C=UK/L=Didcot/O=RAL/CN=this
$ openssl x509 -noout -nameopt oneline -subject < /etc/grid-security/certificates/UKeScienceCA-2B.pem
subject=C = UK, O = eScienceCA, OU = Authority, CN = UK e-Science CA 2B
$ openssl x509 -noout -nameopt -oneline -subject < /etc/grid-security/certificates/UKeScienceCA-2B.pem
subject=/C=UK/O=eScienceCA/OU=Authority/CN=UK e-Science CA 2B
The text was updated successfully, but these errors were encountered:
Default output format has changed between OpenSSL versions 1.0.2 and 1.1.1. The
-nameopt
argument can be used, but it seems to have inconsistent results if you use the-nameopt compat
format. There is the option of "negated" format options, e.g-nameopt -online
, but can't find a combo that helps. This implies we'd need to check what version of OpenSSL is being used, or change the format of the subject strings everywhere.1.0.2:
1.1.1:
The text was updated successfully, but these errors were encountered: