Skip to content
Trust all Trellis self-signed certificates with a single command
Branch: master
Clone or download
Latest commit 65dfa80 Jan 2, 2020
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE.txt bundle gem vagrant-trellis-cert Sep 11, 2017
Rakefile Use Rubocop's default style Sep 17, 2017

Vagrant Trellis Cert

Gem Gem license Donate via PayPal Hire Typist Tech

Trust Trellis self-signed certificates with a single command

Minimum Requirements

  • macOS 10.13.3
  • Vagrant 2.0.3


$ vagrant plugin install vagrant-trellis-cert


Usage: vagrant trellis-cert trust [options] [vm-id]
Usage: vagrant trellis-cert distrust [options] [vm-id]

    -h, --help                       Print this help

# Example: Running within Trellis directory
$ vagrant trellis-cert trust
$ vagrant trellis-cert distrust

# Example: Specify VM id
$ vagrant global-status
id       name    provider   state    directory
fb90ab5  default virtualbox running  /Users/me/Code/trellis

$ vagrant trellis-cert trust fb90ab5
$ vagrant trellis-cert distrust fb90ab5

It looks awesome. Where can I find some more goodies like this?



Love Vagrant Trellis Cert? Help me maintain it, a donation here can help with it.

Why don't you hire me?

Ready to take freelance WordPress jobs. Contact me via the contact form here or, via email

Want to help in other way? Want to be a sponsor?

Contact: Tang Rufus


getaddrinfo: nodename nor servname provided, or not known

Make sure your hosts file (/etc/hosts) contains all the domains you're self-signing.

Usually it can be rectified by $ vagrant reload --provision or $ vagrant hostmanager.

Ask on Root Discourse if the problem persists.


Please provide feedback! We want to make this library useful in as many projects as possible. Please submit an issue and point out what you do and don't like, or fork the project and make suggestions. No issue is too small.

Change log

Please see CHANGELOG for more information on what has changed recently.

Author Information

Vagrant Trellis Cert is a Typist Tech project and maintained by Tang Rufus, freelance developer for hire.

Special thanks to the Roots team whose Trellis make this project possible.

Full list of contributors can be found here.


Please see CODE_OF_CONDUCT for details.


Vagrant Trellis Cert is released under the MIT License.

You can’t perform that action at this time.