nerdexam
CompTIA

LX0-104 · 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. To test an SSL/TLS connection with a remote server using OpenSSL, the openssl s_client command is employed, specifying the host and port.

Networking Fundamentals

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

(55 responses)
  • A
    4% (2)
  • B
    2% (1)
  • C
    93% (51)
  • D
    2% (1)

Why each option

To test an SSL/TLS connection with a remote server using OpenSSL, the openssl s_client command is employed, specifying the host and port.

Aopenssl connect host pop.example.com:pop3s

The openssl connect command does not exist; s_client is the correct subcommand for this purpose.

Bopenssl connect pop.example.com:pop3s

This command incorrectly uses openssl connect and omits the s_client subcommand.

Copenssl s_client connect pop.example.com:pop3sCorrect

The openssl s_client command is specifically designed to implement a generic SSL/TLS client, which is used for connecting to a remote server over SSL/TLS and performing various diagnostic tasks. The connect option followed by host:port (e.g., pop.example.com:pop3s) correctly specifies the target server and service.

Dopenssl s_client pop.example.com:pop3s

While openssl s_client host:port might sometimes work, the connect keyword explicitly states the intent to establish a connection, making s_client connect host:port the more precise and commonly used form for clarity and robustness.

Concept tested: OpenSSL SSL/TLS client connection testing

Source: https://www.openssl.org/docs/manmaster/man1/openssl-s_client.html

Topics

#OpenSSL#SSL/TLS connection testing#POP3S

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice