|
How I do test remote secure web server |
|
|
|
|
Written by Administrator
|
|
Friday, 12 November 2010 10:03 |
|
How I do test remote secure web server
The s_client and s_server options provide a way to launch SSL-enabled command-line clients and servers. There are other examples of their use scattered around this document, but this section is dedicated solely to them.
Connecting to a different type of SSL-enabled server is essentially the same operation as outlined above. As of the date of this writing, openssl only supports command-line TLS with SMTP servers, so you have to use straightforward SSL connections with any other protocol.
openssl s_client -connect remote_server:443 -CApath /etc/httpd/cacerts -cert /etc/httpd/conf/ssl.crt/cert.pem -key /etc/httpd/conf/ssl.key/privkey.pem -msg
OR
openssl s_client -connect remote_sever:443 -CAfile /etc/httpd/conf/ssl.crt/RootCERT.pem -cert /etc/httpd/conf/ssl.crt/cert.pem -key /etc/httpd/conf/ssl.key/privkey.pem -msg
|
|
Last Updated on Friday, 03 December 2010 12:46 |