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
linux:certificate [2020/02/25 10:21] – [Check] tmadelinux:certificate [2024/07/09 10:39] (current) – [Check] tmade
Line 4: Line 4:
  
 ===== Certificate ===== ===== Certificate =====
 +
 +====Apache====
  
 https://tmade.de/wiki/doku.php?id=server:apache#convert_certificate https://tmade.de/wiki/doku.php?id=server:apache#convert_certificate
Line 10: Line 12:
  
 https://tmade.de/wiki/doku.php?id=server:apache#creating_a_certificate_request_rsa_or_dsa https://tmade.de/wiki/doku.php?id=server:apache#creating_a_certificate_request_rsa_or_dsa
 +
 +
 +====Tomcat====
  
 https://tmade.de/wiki/doku.php?id=server:tomcat&s[]=%2Acert%2A#certificat_request https://tmade.de/wiki/doku.php?id=server:tomcat&s[]=%2Acert%2A#certificat_request
Line 26: Line 31:
   curl -v https://mydomain.com                                                    #check host/ https   curl -v https://mydomain.com                                                    #check host/ https
   openssl s_client -connect localhost:5000 -servername mydomain.com               #check server response   openssl s_client -connect localhost:5000 -servername mydomain.com               #check server response
 +  openssl s_client -connect localhost:5000                                        #check server response
   openssl x509 -noout -text -in mycert.crt                                        #check certificate   openssl x509 -noout -text -in mycert.crt                                        #check certificate
   openssl req -noout -text -in ssl-request.csr                                    #check certificate request (*.csr)   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.1582622501.txt.gz · Last modified: 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