To check if an SSL certificate passes the MS 1024 bit minimum key length requirement (1024 bits), run this command:
echo blah | openssl s_client -showcerts -connect amazon.co.uk:443 2> /dev/null | grep "Server public key"
To check if an SSL certificate passes the MS 1024 bit minimum key length requirement (1024 bits), run this command:
echo blah | openssl s_client -showcerts -connect amazon.co.uk:443 2> /dev/null | grep "Server public key"