Skip to content

gocode75/go-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Readme

Certificate

Our proxy will be an HTTPS server (--proto https), so we need certificate and private key. Let’s use self-signed certificate.

Generate self-signed certificate

  • cd certs
  • ./gen.sh

Add self-signed certificate as trusted to OS

OSX

Linux

Copy your certificate in PEM format (the format that has ----BEGIN CERTIFICATE---- in it) into /usr/local/share/ca-certificates and name it with a .crt file extension.

Then run sudo update-ca-certificates.

Run Server

  • cd server
  • go run main.go

Run Client

Using curl

Using go client

  • cd client
  • go run client.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published