Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (22 sloc) 0.884 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#!/bin/bash
( # get openssl, gnutls, and bouncycastle versions
    openssl version;
    gnutls-cli-debug -v;
    unzip -p /usr/share/eucalyptus/lib/bcprov.jar META-INF/MANIFEST.MF | grep Implementation-Version
    # check openssl {ssl2,ssl3,tls1} functionality against port 8774 and 8443
    for p in 8773 8443; do
        for f in serverpref ssl3 tls1 tls1_2 tls1_1; do
     (
     echo -e "======= CHECKING $p WITH $f =======";
     echo -e 'GET /\n\n' | openssl s_client -connect 127.0.0.1:$p -quiet -$f 2>&1 >/dev/null
     ) | xargs -i echo "127.0.0.1:$p openssl $f {}"
     done
    done
    # check gnutls functionality against port 8774 and 8443
    for p in 8773 8443; do
     (
echo -e "======= CHECKING $p WITH gnutls =======";
            gnutls-cli-debug -p $p 127.0.0.1
      ) | xargs -i echo "127.0.0.1:$p gnutls {}";
    done
)
Something went wrong with that request. Please try again.