Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SSL config for HTTPS #59

Closed
wants to merge 1 commit into from
Closed

Add SSL config for HTTPS #59

wants to merge 1 commit into from

Conversation

jcohenho
Copy link

@jcohenho jcohenho commented Jun 8, 2022

I think this will partly solve #3.

The cert.pem and key.pem can be generated with mkcert

Tbh I have no idea what I'm doing, any suggestions would be much appreciated. I tested this locally and I have the docker image running on https now.

Edit:
I suppose mkcert is only good for https in local environments. My goal is to deploy Cloudproxy to an AWS ec2 instance and make it accessible via HTTPS, and ensure communication between the cloudproxy server and proxy servers are done via HTTPS as well.

@claffin
Copy link
Owner

claffin commented Jul 12, 2022

I think the best approach would be to deploy cloudproxy behind an nginx reverse proxy, then have nginx provision a SSL cert via Lets Encrypt. I'm reluctant to have cloudproxy to manage the SSL cert.

@claffin claffin closed this Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants