Difference between revisions of "To view .cer files"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
== Related ==
 
== Related ==
 
* <code>[[.p12]]</code>
 
* <code>[[.p12]]</code>
* [[openssl x509]] -noout -dates
+
* <code>[[openssl x509]]</code> -noout -dates
 +
 
 +
== Activities ==
 +
* [[How to check certification expiration date from command line]]
  
 
== See also ==
 
== See also ==

Revision as of 08:14, 12 September 2023

openssl x509 -in cerfile.cer -noout -text
unable to load certificate
1232435:error:09FFF06C:PEM routines:CRYPTO_internal:no start 
line:/System/Volumes/Data/SWE/macOS/BuildRoots/b8ff8433dc/Library/Caches/com.apple.xbs/Sources/libressl/libressl- 75/libressl-2.8/crypto/pem/pem_lib.c:684:Expecting: TRUSTED CERTIFICATE

Solution, try:

openssl x509 -inform der -in cerfile.cer -noout -text
openssl x509 -inform pem -in cerfile.cer -noout -text

Related

Activities

See also

Advertising: