ubuntu:ssl:connect_to_an_ssl-enabled_service
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:ssl:connect_to_an_ssl-enabled_service [2021/02/02 11:54] – peter | ubuntu:ssl:connect_to_an_ssl-enabled_service [2021/02/02 12:01] (current) – [Print each high-level stage of a SSL-enabled service] peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ubuntu - SSL - Connect to an SSL-enabled service ====== | ====== Ubuntu - SSL - Connect to an SSL-enabled service ====== | ||
+ | |||
+ | <code bash> | ||
+ | openssl s_client -connect mail.sharewiz.net: | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | CONNECTED(00000003) | ||
+ | [ ..... ] | ||
+ | |||
+ | user ME | ||
+ | +OK Name is a valid mailbox | ||
+ | |||
+ | pass SOMETHING_OR_ANOTHER | ||
+ | +OK Mailbox locked and ready | ||
+ | |||
+ | list | ||
+ | +OK scan listing follows | ||
+ | 1 1225 | ||
+ | 2 1863 | ||
+ | 3 1668 | ||
+ | 4 963 | ||
+ | 5 1969 | ||
+ | 6 1437 | ||
+ | 7 2357 | ||
+ | 8 3316 | ||
+ | 9 3517 | ||
+ | 10 8952 | ||
+ | 11 9616 | ||
+ | |||
+ | quit | ||
+ | +OK | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | - The client and server negotiate security capabilities, | ||
+ | - The server transmits digital certificates and key information to the client, allowing the client to validate the identity of the server. | ||
+ | - The client exchanges key information with the server, and optionally authenticate itself with a digital certificate. | ||
+ | - The client and server use the negotiated parameters. | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Print each high-level stage of a SSL-enabled service ===== | ||
<code bash> | <code bash> | ||
Line 8: | Line 56: | ||
< | < | ||
- | SSL_connect: | + | SSL_connect: |
- | SSL_connect: | + | SSL_connect: |
- | SSL_connect: | + | SSL_connect: |
- | SSL_connect: | + | SSL_connect: |
- | SSL_connect: | + | SSL_connect: |
- | SSL_connect: | + | SSL_connect: |
- | SSL_connect: | + | SSL_connect: |
- | SSL_connect: | + | SSL_connect: |
- | SSL_connect: | + | SSL_connect: |
- | SSL_connect: | + | SSL_connect: |
- | SSL_connect: | + | SSL_connect: |
- | SSL_connect: | + | SSL_connect: |
- | SSL_connect: | + | SSL_connect: |
- | SSL_connect: | + | SSL_connect: |
- | SSL handshake has read 1584 bytes and written | + | SSL_connect: |
+ | SSL_connect: | ||
+ | SSL handshake has read 3101 bytes and written | ||
SSL-Session: | SSL-Session: | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
ubuntu/ssl/connect_to_an_ssl-enabled_service.1612266878.txt.gz · Last modified: 2021/02/02 11:54 by peter