The padlock means the connection is encrypted and the site proved it holds a certificate for the name you typed. This set covers making a certificate, reading its fields, and telling a self-signed certificate from one that chains to a trusted root.
Each one is marked as you go, and the explanation arrives straight after, which is
the part worth reading.
4 questions, marked as you go.
Tasks
These need your own device. Run the command in Termux, then paste what it printed.
The marking looks at what the output means, so spacing, version numbers and
ordering do not matter. If you have not installed anything yet, the
lesson covers the setup.
Make and read a self-signed certificate
This makes a self-signed certificate for the name termux.local, then prints its key fields. Read the subject and the issuer together, and look for the fingerprint.
Run this in Termux
On your own device. Nothing on this page executes it. The command runs in
your terminal, and this box only reads what you paste back.
The subject is who the certificate is for and the issuer is who signed it. Here they should be the same name, and there should be a line with a fingerprint.
the certificate is for the name you set
a self-signed certificate is its own issuer
the certificate carries a SHA-256 fingerprint
the commands actually ran
What a good answer looks like
Five lines from openssl x509. The first is the subject, the name the certificate is for, and it should read CN = termux.local. The second is the issuer, and because this certificate is self-signed it is the same name, which is the sign that no outside authority vouched for it. Then two date lines giving the valid window, and a sha256 Fingerprint line, a colon-separated hash of the whole certificate. If subject and issuer differ, you read someone else certificate.
Marking your own work
Both halves of this are checked in your browser, with no server involved, so nothing
stops you from pasting output you did not run. The tasks are written so that the
easiest way to pass one is to actually do it and read the result, which is the whole
intention.