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

Add certificate install and uninstall commands #311

Closed
wants to merge 1 commit into from

Conversation

swalkinshaw
Copy link
Member

trellis certificate install will install the root certificate from a Trellis development VM (by default) into your computer's system truststore. This means local development HTTPS sites will be considered secure by web browsers and won't show insecure warnings.

trellis certificate uninstall removes the previously installed certificate from your computer's system "truststore".

By default this integrates with Trellis and relies on the changes in roots/trellis#1310. However, by passing the --path option this is a useful standalone tool to trust any root certificate on your computer.

Copy link
Member

@tangrufus tangrufus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 🎉

`trellis certificate install` will install the root certificate
from a Trellis development VM (by default) into your computer's system
truststore. This means local development HTTPS sites will be considered
secure by web browsers and won't show insecure warnings.

`trellis certificate uninstall` removes the previously installed
certificate from your computer's system "truststore".
@hirasso
Copy link

hirasso commented Dec 30, 2024

Hi all! I'm late to the party as it seems. Is there an official status on trellis+lima? I'm seeing a few PRs like this one that have been open for ~2 years. No pressure, just asking :)

@swalkinshaw
Copy link
Member Author

roots/trellis#1310 likely won't ever be merged at this point because it's a large refactor that risks breaking things and I'm not sure it's worth it for the benefits.

However, Trellis + Lima should be the default for macOS users at least. I just realized the vm commands are marked as experimental still so I'll remove that.

@hirasso
Copy link

hirasso commented Dec 30, 2024

That's great to hear! Maybe someone should also give the article on the blog some love, so that newcomers realize this is now the recommended way of setting things up on MacOS. Thank you @swalkinshaw for your quick reaction!

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

Successfully merging this pull request may close these issues.

3 participants