Package org.microproxy.tls
package org.microproxy.tls
-
ClassesClassDescriptionWhat one browser looks like to a server, as one thing to give the proxy: its TLS ClientHello, its HTTP/2 connection preface and request framing, its QUIC and HTTP/3 connections (
Http3Options.Builder.upstreamProfile), and its request headers.A certificate authority that issues server certificates on the fly.AMitmManagerthat impersonates servers with certificates issued on demand by aCertificateAuthority.Builds and signs X.509 v3 certificates with nothing but the JDK, which has no public certificate-generation API.AnSslContextSourcefor the proxy's own TLS listener, presenting the certificate of a key store entry (PKCS#12 or JKS): the HTTPS and HTTP/2 listener (withSslContextSource), and, throughKeyStoreSslContextSource.getKeyMaterial(java.lang.String), the HTTP/3 listener of a reverse proxy.AnSslContextSourcebacked by a self-signed certificate generated in memory forlocalhost,127.0.0.1and::1(or the names given).Small factory methods forSSLContexts.Trusts every certificate and host name.