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

Use mkcert instead of Server Side Up CA for local certificates #13

Open
yusufkandemir opened this issue Oct 21, 2024 · 1 comment
Open
Labels

Comments

@yusufkandemir
Copy link
Contributor

As per https://github.com/serversideup/spin-template-laravel-basic#trusted-ssl-certificates-in-development, this template ships certificates that require Server Side Up CA.

I propose using mkcert to generate the certificates locally. That will eliminate the need to trust a remote CA.

I know this is already possible by doing it manually.

Here are possible approaches:

  • Detect if mkdist is installed. If it is, then use it to generate certificates automatically.
  • Prompt the user with two options: use ssup CA or use mkcert
  • Add a tip to the README, letting the users know that they can use mkdist if they want to generate certificates themselves.
@jaydrogers jaydrogers added the ⚡️ Enhancement New feature label Oct 21, 2024
@jaydrogers
Copy link
Member

This might require some pretty deep thought to nail the UX on this. I am going to leave this open and welcome other comments on any suggestions as well.

I am all for not using the SSU CA, but I feel like I haven't come across the perfect solution yet (same with local DNS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants