Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 29th, 2012  |  syntax: None  |  size: 1.06 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. bypass ssl checking in subversion
  2. icasimpan ~$ svn ls https://scm.myserver.com/trunk
  3. Error validating server certificate for 'https://scm.myserver.com:443':
  4.  - The certificate is not issued by a trusted authority. Use the
  5.    fingerprint to validate the certificate manually!
  6. Certificate information:
  7.  - Hostname: scm.myserver.com
  8.  - Valid: from Mon, 05 Dec 2011 00:00:00 GMT until Tue, 11 Dec 2012 23:59:59 GMT
  9.  - Issuer: Terms of use at https://www.verisign.com/rpa (c)10, VeriSign Trust Network, VeriSign, Inc., US
  10.  - Fingerprint: c0:69:f6:67:8d:1f:d2:85:c1:94:9f:59:8e:81:cc:81:3d:1e:44:28
  11. (R)eject, accept (t)emporarily or accept (p)ermanently?
  12.        
  13. svn help co
  14.  .... snip....
  15. --non-interactive        : do no interactive prompting
  16. --trust-server-cert      : accept unknown SSL server certificates without
  17.                          prompting (but only with '--non-interactive')
  18.        
  19. cat <serverrecord> | grep ^MII | base64decode  | openssl x509 -text -inform DER
  20.        
  21. cat <serverrecord> | grep ^MII | base64decode  | openssl x509 -text -inform DER -noout - out current-cert.pem