Handling SSL Certificate Errors in Chrome WebDriver
OverviewWhen automating Chrome browsers using Selenium, developers frequently encounter SSL handshake failures. This typically occurs when the target website possesses an invalid, expired, or untrusted security certificate, or when testing against internal environments with self-signed certificates.The IssueThe browser instance fails to load th ...
Posted on Thu, 28 May 2026 18:58:05 +0000 by Jaguar83
Sending Email with Python via SMTP and SSL
import smtplib
from email.mime.text import MIMEText
sender = 'alice@example.com' # QQ mailbox address
auth_code = 'your-16-char-auth-code' # generated in QQ Mail settings
recipients = ['bob@example.com', 'carol@example.com']
title = 'Test message from Python'
body = '''
Hello,
This is a plain-text message sent with smtplib.
Regards, ...
Posted on Mon, 25 May 2026 18:51:37 +0000 by joquius
Implementing Mutual TLS Authentication with Nginx
Generating Certificates
To establish mutual authentication, you must first create a Certificate Authority (CA) and sign your server and client certificates. Use the following commands to generate the necessary keys and certifictaes:
# Generate the root CA private key
openssl genrsa -out root_authority.key 4096
# Generate the root CA self-signed ...
Posted on Thu, 07 May 2026 10:53:29 +0000 by jrodd32