-
Notifications
You must be signed in to change notification settings - Fork 18
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
Handling sites without DNS #98
Comments
Hello. lets-proxy have .lock certificates now. In this case lets-proxy will handle requests to domain.com with domain.com.rsa.cer certificate without check it domain (cert may be for any domain), expire date and etc. Is it usable for you? |
Sorry for the slow reply! I agree that this is an enhancement, but it is one that I would like to see. |
It can be optional feature. Can you describe your scenario - for better support it. |
I have an application where any user can sign up and create their own shop. The application is hosted on a single server and from a single set of site files. The shop is then chosen depending on the domain name (similar to WordPress multi-sites). Users are welcome to use their own existing domain and point it at the server. We have no way of knowing what the domain will be and so can't do any manual set up for it. However I am building a new replacement server with no live DNS records and found that I cannot test this set up because let-proxy doesn't proxy when it cannot generate an SSL cert. |
Lets proxy must proxy and handle domains with existed certificate (you can copy storage folder from prev server). But it can't issue cert without good dns record by lets encrypt design (lets-proxy doesn't support dns verification). |
I completely agree that we can't issue valid SSL certs without DNS setup. The issue is around how Lets Proxy handles sites it can't verify - for example in a staging/dev environment without any DNS set up. When I last tested this Lets Proxy doesn't return anything creating an impassable SSL error. In other words a fallback SSL certificate to use when nothing else matches. |
Is it ok if for your test env you will self create some certificate, then forward all queries to the certificate (independent of domain name)? |
I'm happy providing a certificate (either self signed or valid for another domain) and for any domain to ends up there, assuming that 1. let's proxy can't generate a cert for them and 2. there isn't a .lock certificate for them. |
It would be good to change how lets proxy handles sites it cannot generate a cert for.
In my current use case, I have set it up on a server and am testing sites without valid DNS.
In Firefox it currently returns a "SSL_ERROR_INTERNAL_ERROR_ALERT" error code.
If it instead returned a selfsigned cert or a cert for a different domain (the hostname perhaps) I would be able to accept this error as OK in my browser and continue.
The text was updated successfully, but these errors were encountered: