-
Notifications
You must be signed in to change notification settings - Fork 97
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
SSL fails on branches #238
Comments
Known issue: https://docs.meli.sh/configuration/reverse-proxy |
Ah, I saw that but assumed that was only the situation when running behind a reverse proxy. Perhaps it would make sense to copy that warning over to https://docs.meli.sh/configuration/ssl ? |
I think implementing #233 will make the situation easier, without having to mess around with sudomains of subdomains. Follows what Netlify does with having a subdomain like |
This commit includes a helm chart or Meli. I created it based on the k8s manifest contributed by @Berndinox. Hopefully that `values.yaml` file I provided sufficiently explains the various knobs to turn. One potential area of improvement would be allowing existing PVCs to be used. Note that this includes the feature I mentioned in getmeli#233 but which also applies to getmeli#238 which is the ability to explicitly list all sites so that the ingress configuration can fetch SSL certificates _for branch host names_. Ideally, this helm chart would be packaged up and shared...somewhere. I'm actually not that well versed in how to host helm charts for open source software. I know there used to be a public registry hosted by Google but then they withdrew support and the landscape got very fragmented. If there _is_ a place to host such a chart, it would be good to publish this there so that an ordinary helm installation could reference it. Not that the `values.yaml` file include the image and tag. This can be customized to run a custom Meli image instead of the official Docker hub image. This closes getmeli#246.
This commit includes a helm chart or Meli. I created it based on the k8s manifest contributed by @Berndinox. Hopefully that `values.yaml` file I provided sufficiently explains the various knobs to turn. One potential area of improvement would be allowing existing PVCs to be used. Note that this includes the feature I mentioned in getmeli#233 but which also applies to getmeli#238 which is the ability to explicitly list all sites so that the ingress configuration can fetch SSL certificates _for branch host names_. Ideally, this helm chart would be packaged up and shared...somewhere. I'm actually not that well versed in how to host helm charts for open source software. I know there used to be a public registry hosted by Google but then they withdrew support and the landscape got very fragmented. If there _is_ a place to host such a chart, it would be good to publish this there so that an ordinary helm installation could reference it. Not that the `values.yaml` file include the image and tag. This can be customized to run a custom Meli image instead of the official Docker hub image. This closes getmeli#246.
This commit includes a helm chart or Meli. I created it based on the k8s manifest contributed by @Berndinox. Hopefully that `values.yaml` file I provided sufficiently explains the various knobs to turn. One potential area of improvement would be allowing existing PVCs to be used. Note that this includes the feature I mentioned in #233 but which also applies to #238 which is the ability to explicitly list all sites so that the ingress configuration can fetch SSL certificates _for branch host names_. Ideally, this helm chart would be packaged up and shared...somewhere. I'm actually not that well versed in how to host helm charts for open source software. I know there used to be a public registry hosted by Google but then they withdrew support and the landscape got very fragmented. If there _is_ a place to host such a chart, it would be good to publish this there so that an ordinary helm installation could reference it. Not that the `values.yaml` file include the image and tag. This can be customized to run a custom Meli image instead of the official Docker hub image. This closes #246. Co-authored-by: Michael Tiller <[email protected]>
In my deployment, I've found SSL certificate generation works perfectly for the primary subdomain for a site hosted in a Meli instance, but consistently seems to fail for branch subdomains.
I see the following error in the log output:
and in browsers loading the branch subdomain just fails with an SSL protocol error.
Testing both using the default CA (which, following Caddy's change, seems to now be ZeroSSL) and with manually setting the ACME server to Let's Encrypt via
MELI_ACME_SERVER: https://acme-v02.api.letsencrypt.org/directory
, the error seems to consistently happen.Using Meli image:
getmeli/meli:beta
,1.0.0-beta.20
per package.json.The text was updated successfully, but these errors were encountered: