Difference between revisions of "To view .cer files"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
  
 
Solution, try:
 
Solution, try:
  [[openssl x509]] -inform [[der]] -in cerfile.cer -noout -text
+
  [[openssl x509 -inform]] [[der]] -in cerfile.cer -noout -text
 
  openssl x509 -inform [[pem]] -in cerfile.cer -noout -text
 
  openssl x509 -inform [[pem]] -in cerfile.cer -noout -text
  
 
== 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 ==

Latest revision as of 10:31, 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[edit]

Activities[edit]

See also[edit]

Advertising: