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

naked domain explainpowershell.com should also work / explainpowershell.com does not support https #40

Open
Jawz84 opened this issue Aug 15, 2021 · 5 comments

Comments

@Jawz84
Copy link
Owner

Jawz84 commented Aug 15, 2021

When I navigate to explainpowershell.com, it should also just work.

@Jawz84
Copy link
Owner Author

Jawz84 commented Aug 15, 2021

I have set this up, and it does work. Just without HTTPS support.

The reason is, I am using Azure CDN managed HTTPS on www.explainpowershell.com, but it seems this is no longer supported for apex domains (in my case explainpowershell.com).

See also:
https://github.com/MicrosoftDocs/azure-docs/issues/63977

Next step would be to find out how to get a valid public SSL cert for explainpowershell.com in Azure KeyVault, and configure that cert as an SSL cert for the explainpowershell.com domain in Azure CDN.

@Jawz84 Jawz84 changed the title naked domain explainpowershell.com should also work naked domain explainpowershell.com should also work / explainpowershell.com does not support https Aug 15, 2021
@Jawz84
Copy link
Owner Author

Jawz84 commented Aug 15, 2021

This looks promising:
https://github.com/shibayan/keyvault-acmebot

@Jawz84
Copy link
Owner Author

Jawz84 commented Jun 21, 2022

Illustration of what happens if I try to enable CDN managed cert on apex domain (not supported):
image

@Jawz84
Copy link
Owner Author

Jawz84 commented Jun 21, 2022

I've managed to work around this by putting a DNS CNAME in place, and adding a redirect from http -> https. Those combined, make sure people end up in the right place: https://www.explainpowershell.com

@Jawz84 Jawz84 closed this as completed Jun 21, 2022
@Jawz84 Jawz84 reopened this Jun 21, 2022
@Jawz84
Copy link
Owner Author

Jawz84 commented Jun 21, 2022

hmm. everything works, except ofcourse when someone explicitly navigates to https://explainpowershell.com, because SSL check takes place before url redirect :( #sadpanda.

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

No branches or pull requests

1 participant