LOGBOOK

HELP

Quiz Entry - updated: 2026.11.12

The lab is verified with curl -k -vvv https://<host>. What does -k do, why is it needed here, and what output shows success?

-k (--insecure) skips certificate verification, which is needed because the server's certificate is self-signed; success is HTTP/1.1 200 OK over port 443 followed by the generated page text.

Without -k, curl checks that the server's certificate chains up to a certificate authority it trusts. A self-signed certificate doesn't, so curl stops with a certificate error before sending the request. -k tells curl to encrypt the connection anyway and not check who it is talking to. That is acceptable for testing your own lab server and should never become a habit against real servers, because it disables exactly the check that defeats man-in-the-middle attacks. (--cacert itia.crt is the stricter alternative: trust this one certificate.)

-vvv makes curl verbose, which shows the steps:

  • Connected to <host> ... port 443: the HTTPS port answers, so mod_ssl and the site are active;
  • < HTTP/1.1 200 OK and < Server: Apache/... (Debian): Apache served the request without an auth challenge, so no .htaccess is in the way;
  • the body, <fqdn> (<ip>) wurde im Modul ITIA erstellt. Aufgabe lhe.: the page written by this playbook.

Go deeper:

From Quiz: ITIA / Ansible Task Control: Loops, Conditionals, Handlers and Error Handling | Updated: Nov 12, 2026