LFCS · Question #427
The openssl command can be used to test connections with various secure services. What command will open a connection with a remote POP3S (POP3 over SSL) server?
The correct answer is C. openssl s_client connect pop.example.com:pop3s. The openssl s_client command is used to initiate a generic SSL/TLS client connection to a remote server, which can be used to test secure services like POP3S.
Question
Options
- Aopenssl connect host pop.example.com:pop3s
- Bopenssl connect pop.example.com:pop3s
- Copenssl s_client connect pop.example.com:pop3s
- Dopenssl s_client pop.example.com:pop3s
How the community answered
(29 responses)- A3% (1)
- B3% (1)
- C93% (27)
Why each option
The `openssl s_client` command is used to initiate a generic SSL/TLS client connection to a remote server, which can be used to test secure services like POP3S.
There is no `openssl connect` subcommand; `s_client` is the correct utility for establishing SSL/TLS connections.
There is no `openssl connect` subcommand.
The `openssl s_client` command is the standard utility for acting as an SSL/TLS client, allowing users to initiate a secure connection to a remote host and observe the TLS handshake details. In this context, `connect pop.example.com:pop3s` explicitly specifies the target host and port for the secure connection, making it suitable for testing POP3S (POP3 over SSL/TLS).
While `openssl s_client pop.example.com:pop3s` is a functional command, option C explicitly uses the `connect` keyword to specify the target, which might be considered the more precise or formally correct way to invoke the connection action for `s_client` in some contexts.
Concept tested: OpenSSL SSL/TLS client connection testing
Source: https://www.openssl.org/docs/manmaster/man1/s_client.html
Topics
Community Discussion
No community discussion yet for this question.