Quantcast
Channel: Save Remote SSL Certificate via Linux Command Line - Server Fault
Browsing latest articles
Browse All 3 View Live

Answer by Cry Havok for Save Remote SSL Certificate via Linux Command Line

Something like:openssl s_client -servername remote.server.net -connect remote.server.net:443 </dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'>/path/to/certificate.pemThat's what...

View Article



Answer by Matt Simmons for Save Remote SSL Certificate via Linux Command Line

From http://www.madboa.com/geek/openssl/#cert-retrieve#!/bin/sh## usage: retrieve-cert.sh remote.host.name [port]#REMHOST=$1REMPORT=${2:-443}echo |\openssl s_client -connect ${REMHOST}:${REMPORT}...

View Article

Save Remote SSL Certificate via Linux Command Line

Can you think of any linux command-line method for saving the certificate presented by a HTTPS server? Something along the lines of having curl/wget/openssl make a SSL connection and save the cert...

View Article
Browsing latest articles
Browse All 3 View Live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>