--- cert-retrieve.sh.orig 2010-11-12 17:17:28.000000000 +0100
+++ cert-retrieve.sh 2010-11-12 17:19:12.000000000 +0100
@@ -5,6 +5,5 @@
REMHOST=$1
REMPORT=${2:-443}
-echo |\
-openssl s_client -connect ${REMHOST}:${REMPORT} 2>&1 |\
+openssl s_client -connect ${REMHOST}:${REMPORT} </dev/null 2>&1 |\
sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'
Apart from kidding, I couldn't get it working here. I saved the cert
to /usr/share/ca-certificates, made a symlink to /etc/ssl/certs,
appended it to /etc/ssl/certs/ca-certificates.crt - do I need to do
anything else?
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user