Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:certificate [2019/04/29 17:17] – [Check] tmadelinux:certificate [2021/10/01 23:36] tmade
Line 24: Line 24:
 ====Check==== ====Check====
  
-  curl -v https://mydomain.com +  curl -v https://mydomain.com                                                    #check host/ https 
-  openssl s_client -connect localhost:5000 -servername mydomain.com+  openssl s_client -connect localhost:5000 -servername mydomain.com               #check server response 
 +  openssl x509 -noout -text -in mycert.crt                                        #check certificate 
 +  openssl req -noout -text -in ssl-request.csr                                    #check certificate request (*.csr) 
 +   
 +====Compare==== 
 +Check if my.key matches my.crt: 
 + 
 +  openssl rsa –noout –modulus –in my.key | openssl md5 
 +  openssl x509 –noout –modulus –in my.crt | openssl md5
      
  
  
linux/certificate.txt · Last modified: 2021/10/01 23:37 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki