ISLAB Logs
The sender hashes the data and transforms the hash with the private key; the receiver recomputes the hash and checks it against the signature using the sender's public key.
Sender (signer):
Runs a hash function (e.g. SHA-256) over the data, giving a short fixed-size fingerprint....
Q Why does certutil -dspublish -f rootcacert.cer RootCA make the HTTPS site trusted on a domain-joined...
Publishing the root certificate into Active Directory lets Group Policy push it into every domain member's trusted root store; the Linux client is not in the domain, so the root never reaches its trust store.
The offline root CA is not joined to the domain, so AD knows nothing ab...
Q After SSLVerifyClient require is enabled, why can the domain user no longer open the intranet site,...
The server now demands a client certificate and the user has none, so the TLS handshake fails; autoenrollment issues every user a certificate automatically.
The browser shows a connection error rather than a login page: the server refuses the handshake because the client sent no...
Q What does code signing prove, and why does it matter for software that is downloaded from the intern...
It proves who published the code and that it has not been changed since it was signed; it does not prove the code is safe.
The publisher hashes the program or script and signs the hash with a code-signing private key. Before running it, the operating system checks the signature a...
Q What does the padlock in the browser's address bar actually guarantee, and what does it not?
Only that the connection is encrypted to a party presenting a certificate for this host name that chains to a root your device trusts; not that this party is the real site, nor that nobody in between can read along.
The padlock is a statement about the TLS connection and the loca...
Q In what ways can a certificate become invalid before or at the end of its life?
It expires at its "not after" date, or the CA revokes it early and publishes that in a CRL or through an OCSP responder.
Expiry. Every certificate carries a validity period. After not after it is invalid without anyone doing anything. Short lifetimes limit the damage of a key no...
Q What does openssl req -newkey rsa:4096 -nodes -sha256 -keyout www-private.key -out www.csr -config r...
It generates a new 4096-bit RSA key pair (saved unencrypted as www-private.key) and a CSR (www.csr) that carries the public key plus the requested name and extensions, signed with the private key.
Two outputs, three components:
The private key (www-private.key), written in /etc/...
Q What steps set up user certificate autoenrollment in an AD CS domain?
Duplicate the User template and give Domain Users Read, Enroll and Autoenroll; publish the template on the CA; enable "Certificate Services Client – Auto-Enrollment" in a GPO linked to the users' OU.
Duplicate the template. In Certificate Templates (Manage), copy the built-in Us...
Q What are PowerShell's five execution policies, and what does each allow?
Restricted runs no scripts, AllSigned only signed ones, RemoteSigned requires signatures only for downloaded scripts, Unrestricted runs all (warning for downloaded ones), Bypass runs all silently.
Policy
Behaviour
Restricted
Interactive commands only; no script files (.ps1...
Q How do you turn a Linux host into a transparent man-in-the-middle for a client's web traffic?
Make it the client's default gateway, enable IP forwarding, and redirect TCP ports 80 and 443 with nftables to the local port of mitmproxy running in transparent mode.
A man-in-the-middle must sit on the path of the traffic. An attacker gets there by spoofing (ARP or DHCP spoofin...