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
Next revisionBoth sides next revision
linux:certificate [2018/07/09 14:23] – [Certificate] tmadelinux:certificate [2020/02/25 10:21] – [Check] tmade
Line 15: Line 15:
 https://tmade.de/wiki/doku.php?id=server:tomcat&s[]=%2Acert%2A#certificat_conversion https://tmade.de/wiki/doku.php?id=server:tomcat&s[]=%2Acert%2A#certificat_conversion
  
-  openssl x509 -hash -noout -in test-certificate.pem +==== Server Certificate ==== 
-  ln -s test-certificate.pem `openssl x509 -hash -noout -in test-certificate.pem`.0+ 
 +Server certificates are inside "/etc/ssl/certs". To add a new certificate, copy file inside this folder and: 
 + 
 +  openssl x509 -hash -noout -in test-certificate.pem                                         #Show hash  
 +  ln -s test-certificate.pem `openssl x509 -hash -noout -in test-certificate.pem`.0          #Symlink hash to certificate 
 + 
 +====Check==== 
 + 
 +  curl -v https://mydomain.com                                                    #check host/ https 
 +  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) 
 +  
  
  
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