-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Tls self_signed - Not working correctly since a few versions #2502
Comments
Thanks for the report. I could reproduce it. This one might require a change in CertMagic to fix fully. |
Should this issue be fixed in 1.0.0? Many users use self sign cert for development purpose |
I'll get around to it soon. It's not a blocker for 1.0, and I'm currently redesigning how self-signed certs are managed. |
Is this issue still considered for Caddy 1.x? I tested with Caddy 1.0.3 and I still have the issue. |
It will probably be worked on more for Caddy 2, tbh. Caddy 2 is really close to being "done" (for an initial stable release). |
Agggrrrhh. What’s the proper way to get HTTPS working on localhost with Caddy2?
outputs
|
There is no |
Anyone interested in this please follow #3125 and try it out ASAP, it will be the successor to the v1 |
@mholt, how is one supposed to try it if there is no binary attached? |
For now, just clone the branch and run go build from the cmd/caddy folder. |
@sergeevabc you should also be able to try it with one of the CI build artifacts: https://dev.azure.com/mholt-dev/Caddy/_build/results?buildId=927&view=artifacts&type=publishedArtifacts |
I managed to download Caddy2’s binary thanks to @francislavoie, but not sure how to proceed with configuration, because I do not and never will use JSON for configuration.
I tried adding |
If you read the PR, you'll see that Caddyfile support isn't ready yet for this feature. In the meantime, you can easily convert your Caddyfile config to JSON with the |
…es (#3125) * pki: Initial commit of PKI app (WIP) (see #2502 and #3021) * pki: Ability to use root/intermediates, and sign with root * pki: Fix benign misnamings left over from copy+paste * pki: Only install root if not already trusted * Make HTTPS port the default; all names use auto-HTTPS; bug fixes * Fix build - what happened to our CI tests?? * Fix go.mod
1. Which version of Caddy are you using (
caddy -version
)?Caddy 0.11.5 (non-commercial use only)
2. What are you trying to do?
Use tls self_signed for a local development Caddy server.
3. What is your Caddyfile?
4. How did you run Caddy (give the full command and describe the execution environment)?
I'm using Windows 7 x64.
I typed "caddy" in cmd in the folder containing caddy.exe.
5. Please paste any relevant HTTP request(s) here.
N/A
6. What did you expect to see?
Server starting and running normally.
7. What did you see instead (give full error messages and/or log)?
8. Why is this a bug, and how do you think this should be fixed?
It doesn't respect docs here:
https://caddyserver.com/docs/tls
It worked correctly with Caddy 0.11.1.
9. What are you doing to work around the problem in the meantime?
I commented this line:
10. Please link to any related issues, pull requests, and/or discussion.
https://caddy.community/t/tls-self-signed-windows-7-x64-caddy-0-11-5/5299
Bonus: What do you use Caddy for? Why did you choose Caddy?
The text was updated successfully, but these errors were encountered: