 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
tlsproxy is a simple TLS terminating proxy that uses Let's Encrypt to provide TLS encryption for any TCP and HTTP servers.
It can also act as a reverse HTTP proxy with optional user authentication with SAML, OpenID Connect, and/or passkeys.
       Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| Package certmanager implements an X509 certificate manager that can replace https://pkg.go.dev/golang.org/x/crypto/acme/autocert#Manager for testing purposes. | Package certmanager implements an X509 certificate manager that can replace https://pkg.go.dev/golang.org/x/crypto/acme/autocert#Manager for testing purposes. | 
| examples
       | |
| 
          
            backend
            module
            
          
          
         | |
| Package proxy implements a simple lightweight TLS termination proxy that uses Let's Encrypt to provide TLS encryption for any number of TCP and HTTP servers and server names concurrently on the same port. | Package proxy implements a simple lightweight TLS termination proxy that uses Let's Encrypt to provide TLS encryption for any number of TCP and HTTP servers and server names concurrently on the same port. | 
| 
          
            internal/counter
            
            
          
           Package counter implements a counter that keeps some historical data to calculate rates. | Package counter implements a counter that keeps some historical data to calculate rates. | 
| 
          
            internal/netw
            
            
          
           Package netw is a wrapper around network connections that stores annotations and records metrics. | Package netw is a wrapper around network connections that stores annotations and records metrics. | 
| 
          
            internal/passkeys
            
            
          
           Package passkeys implements the server side of WebAuthn. | Package passkeys implements the server side of WebAuthn. | 
| 
          
            internal/pki
            
            
          
           Package pki implements a simple Public Key Infrastructure (PKI) manager that can issue and revoke X.509 certificates. | Package pki implements a simple Public Key Infrastructure (PKI) manager that can issue and revoke X.509 certificates. | 
| 
          
            internal/pki/clientwasm
            
            command
          
           clientwasm implements TLS key generation and PKCS12 packaging in a browser so that the private key is never copied over the network. | clientwasm implements TLS key generation and PKCS12 packaging in a browser so that the private key is never copied over the network. | 
| 
          
            internal/sshca
            
            
          
           Package sshca implements a simple certificate authority for SSH. | Package sshca implements a simple certificate authority for SSH. | 
| 
          
            internal/tokenmanager
            
            
          
           Package tokenmanager implements a simple JSON Web Token (JWT) and JSON Web Key (JWK) management system. | Package tokenmanager implements a simple JSON Web Token (JWT) and JSON Web Key (JWK) management system. | 
| Command tlsproxy establishes a TLS connection with a TLS server and redirects the stream to its stdin and stdout. | Command tlsproxy establishes a TLS connection with a TLS server and redirects the stream to its stdin and stdout. | 
 Click to show internal directories. 
   Click to hide internal directories.