John Napiorkowski
/
0.002006
(JJNAPIORK on 2026-08-28)
0.002005
(JJNAPIORK on 2026-08-26)
0.002004
(JJNAPIORK on 2026-08-25)
0.002003
(JJNAPIORK on 2026-08-24)
0.002002
(JJNAPIORK on 2026-08-21)
0.002001
(JJNAPIORK on 2026-06-30)
0.002000
(JJNAPIORK on 2026-06-27)
0.001023
(JJNAPIORK on 2026-05-22)
0.001022
(JJNAPIORK on 2026-04-06)
0.001021
(JJNAPIORK on 2026-04-04)
0.001020
(JJNAPIORK on 2026-03-16)
0.001019
(JJNAPIORK on 2026-02-20)
0.001018
(JJNAPIORK on 2026-02-16)
0.001017
(JJNAPIORK on 2026-02-11)
0.001016
(JJNAPIORK on 2026-02-02)
0.001015
(JJNAPIORK on 2026-01-19)
0.001014
(JJNAPIORK on 2026-01-16)
0.001013
(JJNAPIORK on 2026-01-04)
0.001012
(JJNAPIORK on 2026-01-02)
0.001011
(JJNAPIORK on 2025-12-28)
0.001010
(JJNAPIORK on 2025-12-27)
0.001009
(JJNAPIORK on 2025-12-26)
0.001008
(JJNAPIORK on 2025-12-25)
0.001007
(JJNAPIORK on 2025-12-25)
0.001006
(JJNAPIORK on 2025-12-25)
0.001001
(JJNAPIORK on 2025-12-17)
PAGI-0.002006
9 ++
/
examples/08-tls-introspection/README.md
08 – TLS Extension Introspection
Reads scope->{extensions}{tls} when present and reports certificate/version/cipher data back to the client. Falls back gracefully for non-TLS requests.
Quick Start
1. Start the server with TLS:
# Generate self-signed cert for testing (if needed)
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes -subj "/CN=localhost"
# Start with TLS enabled
pagi-server --app examples/08-tls-introspection/app.pl --port 5000 \
--tls-cert cert.pem --tls-key key.pem
2. Demo with curl:
# HTTPS request - shows TLS info
curl -k https://localhost:5000/
# => TLS Connection Info:
# => Protocol: TLSv1.3
# => Cipher: TLS_AES_256_GCM_SHA384
# => ...
# HTTP request (without TLS) - shows fallback message
curl http://localhost:5000/
# => No TLS connection detected
Note: Use -k flag with curl to accept self-signed certificates.
Spec References
TLS extension – PAGI::Spec::Tls
HTTP response events – PAGI::Spec::Www