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

Enable HTTPS for UVL-EMR #21

Open
michaelbontyes opened this issue Sep 3, 2024 · 10 comments
Open

Enable HTTPS for UVL-EMR #21

michaelbontyes opened this issue Sep 3, 2024 · 10 comments
Assignees
Labels

Comments

@michaelbontyes
Copy link
Member

Enable HTTPS when visiting http://uvl.southafricanorth.cloudapp.azure.com/ though the Gateway container using LetsEncrypt automatically renewing or another free SSL option.

So the secured URL should be https://uvl.southafricanorth.cloudapp.azure.com

@michaelbontyes michaelbontyes converted this from a draft issue Sep 3, 2024
@suubi-joshua suubi-joshua self-assigned this Sep 26, 2024
@michaelbontyes
Copy link
Member Author

Hi @suubi-joshua , the URL of UVL EMR has been simplified with http://uvl-emr.madiro.org. How is it going on your side to enable the HTTPS on the OpenMRS Docker Gateway?

@suubi-joshua
Copy link
Contributor

Hi @michaelbontyes working on this hope to use traefik, hope to have a PR before the weekend.

@suubi-joshua
Copy link
Contributor

Actually hoped would be able to have a PR by today but am still having a problem with traefik I set it up and get such a link Image

Am trying to figure out a way to override the default link

@michaelbontyes
Copy link
Member Author

michaelbontyes commented Oct 4, 2024

@suubi-joshua what about this approach? https://mindsers.blog/en/post/https-using-nginx-certbot-docker/amp/

@suubi-joshua
Copy link
Contributor

suubi-joshua commented Oct 4, 2024

I think I will have to go back to ngnix, @michaelbontyes Also can you advise on this approach, Since MEKOM has a repo with all the traefik configs, I was looking at, if possible to uppack the repo while one builds the project using mvn, then use start.sh to read the traefik configs as one runs the UVL emr I want it to be a seemless setup for anyone using UVL.

DO you think this is possible?

Because using ngnix requires a form of configuring, and the cert bot certificates only last for 3 months.

@suubi-joshua
Copy link
Contributor

Finallly had some break through the app is surved via https using traefik now left to configure the link @michaelbontyes
Image

@michaelbontyes
Copy link
Member Author

@suubi-joshua can we add the https on uvl-emr.madiro.org?

@suubi-joshua
Copy link
Contributor

suubi-joshua commented Oct 14, 2024

@suubi-joshua can we add the https on uvl-emr.madiro.org?

I believe its possible. Trying to figure out how.
The uvl-emr.madiro.org is not accessible on port 443. This is failing to Lets encrypt servers to access and get certificates for the domain. @michaelbontyes

@suubi-joshua
Copy link
Contributor

Its possible to have the domain uvl-emr.madiro.org but I believe some ports are restricted like 443
image

@michaelbontyes
Copy link
Member Author

@suubi-joshua, the 443 is now open. Let me know how you see the deployment and activation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In review
Development

No branches or pull requests

2 participants