Dear Igor and others,
in this context maybe the attached Java program together with this script is
useful for you ...
#!/bin/bash
if [ -z "$1" ]; then
cat >&2 <<-EOT
syntax : $0 [-d] [-a] <ssl-hostname>
purpose: check ssl certificate path. Use [#] to add to keystore"
options:
-d debug ssl handshake
-a add certificate (if not already trusted)
EOT
exit -1
fi
[ "$1" == "-d" ] && shift && DEBUG="-Djavax.net.debug=ssl:handshake" &&
echo "DEBUG MODE" >&2
ACTION="q"; [ "$1" == "-a" ] && shift && ACTION="1"
echo $ACTION | java $DEBUG InstallCert $*
greetings
Guido
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]