Changes between Version 1 and Version 2 of SecurityInfo


Ignore:
Timestamp:
11/08/10 22:19:03 (6 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SecurityInfo

    v1 v2  
    9292}}} 
    9393 
     94Note the error at the end, '''"Verify return code: 21 (unable to verify the first certificate)"'''. 
     95 
    9496Copy from the "-----BEGIN CERTIFICATE-----" to the "-----END CERTIFICATE-----" , and save it in your ~/.cert/www.transitionnetwork.org/ directory as www.transitionnetwork.org.pem. 
    9597 
    96 This certificate was issued by Gandi, so you need to get "Certification Authority Root Certificate": 
    97  
     98This certificate was issued by Gandi, so you need to get the various certificates [http://wiki.gandi.net/en/ssl/intermediate?rev=1236084787 from gandi.net] and chenge them into pem format: 
     99  
    98100{{{ 
    99 $ wget http://crt.gandi.net/GandiStandardSSLCA.crt -O ~/.cert/www.transitionnetwork.org/gandi.pem 
     101wget http://crt.gandi.net/GandiStandardSSLCA.crt 
     102wget http://crt.usertrust.com/UTNAddTrustServer_CA.crt 
     103wget http://crt.usertrust.com/AddTrustExternalCARoot.crt 
     104openssl x509 -inform DER -in GandiStandardSSLCA.crt -out GandiStandardSSLCA.pem 
     105openssl x509 -inform DER -in AddTrustExternalCARoot.crt -out AddTrustExternalCARoot.pem 
     106openssl x509 -inform DER -in UTNAddTrustServer_CA.crt -out UTNAddTrustServer_CA.pem 
    100107}}} 
    101108 
     
    111118$ openssl s_client -CApath ~/.cert/www.transitionnetwork.org/ -connect www.transitionnetwork.org:443 
    112119}}} 
     120 
     121And you should now output like above but with this at the end: 
     122 
     123{{{ 
     124    Verify return code: 0 (ok) 
     125}}} 
     126