nerdexam
Linux_Foundation

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.

Submitted by omar99· Apr 18, 2026Networking

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

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    93% (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.

Aopenssl connect host pop.example.com:pop3s

There is no `openssl connect` subcommand; `s_client` is the correct utility for establishing SSL/TLS connections.

Bopenssl connect pop.example.com:pop3s

There is no `openssl connect` subcommand.

Copenssl s_client connect pop.example.com:pop3sCorrect

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).

Dopenssl s_client pop.example.com:pop3s

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

#openssl#SSL/TLS client#Networking diagnostics#Secure protocols

Community Discussion

No community discussion yet for this question.

Full LFCS Practice