What is a self-signed certificate and when is it acceptable?
BeginnerConceptHTTP, TLS & Certificates
Answer
A certificate signed by its own key rather than a CA, so no client trusts it by default. Fine for local development, internal tests, or when you explicitly distribute the cert to clients you control.
openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 365 -subj "/CN=localhost"
Never ship it to public users; they get NET::ERR_CERT_AUTHORITY_INVALID.
More on HTTP, TLS & Certificates
What is the structure of an HTTP request and response?BeginnerWhich HTTP status code classes and codes should every DevOps engineer know?BeginnerWhat are the common HTTP methods and which are idempotent?BeginnerWhat changed between HTTP/1.1, HTTP/2 and HTTP/3?IntermediateHow does QUIC differ from TCP+TLS?AdvancedWhat are HTTP keep-alive and connection reuse, and why do they matter?Advanced