nerdexam
CompTIA

XK0-006 · Question #14

An administrator receives reports that a web service is not responding. The administrator reviews the following outputs: Which of the following is the reason the web service is not responding?

The correct answer is C. The private key is not in the correct location and needs to be moved to the correct directory. The error log shows “cannot load certificate key /etc/pki/nginx/private/server.key”, but the listing reveals that server.key is located in /etc/pki/nginx/ rather than the expected /etc/pki/nginx/private/ directory. Since the file exists but not where Nginx is configured to…

Troubleshooting and Diagnostics

Question

An administrator receives reports that a web service is not responding. The administrator reviews the following outputs:

Which of the following is the reason the web service is not responding?

Exhibit

XK0-006 question #14 exhibit

Options

  • AThe private key needs to be renamed from server.crt to server.key so the service can find
  • BThe private key does not match the public key, and both keys should be replaced.
  • CThe private key is not in the correct location and needs to be moved to the correct directory.
  • DThe private key has the incorrect permissions and should be changed to 0755 for the service.

How the community answered

(69 responses)
  • A
    6% (4)
  • B
    12% (8)
  • C
    80% (55)
  • D
    3% (2)

Explanation

The error log shows “cannot load certificate key /etc/pki/nginx/private/server.key”, but the listing reveals that server.key is located in /etc/pki/nginx/ rather than the expected /etc/pki/nginx/private/ directory. Since the file exists but not where Nginx is configured to look, moving it to the correct directory resolves the issue.

Topics

#SSL/TLS#private key#certificate#web service configuration

Community Discussion

No community discussion yet for this question.

Full XK0-006 Practice