LFCS · Question #427
LFCS Question #427: Real Exam Question with Answer & Explanation
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
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?
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
Explanation
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.
Common mistakes.
- A. There is no
openssl connectsubcommand;s_clientis the correct utility for establishing SSL/TLS connections. - B. There is no
openssl connectsubcommand. - D. While
openssl s_client pop.example.com:pop3sis a functional command, option C explicitly uses theconnectkeyword to specify the target, which might be considered the more precise or formally correct way to invoke the connection action fors_clientin some contexts.
Concept tested. OpenSSL SSL/TLS client connection testing
Reference. https://www.openssl.org/docs/manmaster/man1/s_client.html
Topics
Community Discussion
No community discussion yet for this question.