mirror of
https://github.com/FiloSottile/mkcert.git
synced 2026-04-25 21:45:59 +03:00
[GH-ISSUE #64] Vagrant question #32
Labels
No labels
TLS stack issue
Windows
bug
duplicate
duplicate
enhancement
help wanted
help wanted
pull-request
question
question
root store
waiting for info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mkcert#32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mattkaye on GitHub (Aug 19, 2018).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/64
I’m running Ubuntu via vagrant on a Mac. Do I install and run this on the host or guest OS?
@nickkaczmarek commented on GitHub (Aug 22, 2018):
Where is your webserver located? On macOS or Ubuntu?
@nickkaczmarek commented on GitHub (Aug 22, 2018):
This might help it. https://ishan.co/ssl-vagrant-local
@mattkaye commented on GitHub (Aug 22, 2018):
The web server is on Ubuntu running in virtual box. I already have followed
steps like the one in the url you posted. I do have a self signed cert for
each of my vhosts , but can’t get chrome to trust them . I’ve tried almost
everything I can think of. I was hoping this tool would handle all that
manual configuration for me and handle the keychain, but I’m not sure it
will.
On Wed, Aug 22, 2018 at 7:19 PM Nick Kaczmarek notifications@github.com
wrote:
--
Regards
Matt Kaye
@mrmuli commented on GitHub (Nov 8, 2018):
@mattkaye I am running an Ubuntu box on MacOS and I had to install the CA in the box. So the tool is initially installed on my Mac and certs generated there but I copy over the rootCA into the box and run install and it works.
An issue I'm however facing is I can't seem to get ansible to install the root CA with the certificate I copied over. I have to manually ssh and run mkcert -install to get the box using the cert I copied over.
I hope you got help though :)
@adamdecaf commented on GitHub (Nov 8, 2018):
Yep. Vagrant is a virtual machine, so the certs won't be installed by running
mkcerton the host.@FiloSottile commented on GitHub (Jan 6, 2019):
You want to run
mkcert -installon the system that is going to have to trust the certificates. So if the server runs in Vagrant and the browser on the laptop, you runmkcert -installon the host, and install the generated certificates inside the guest.See also https://github.com/FiloSottile/mkcert#installing-the-ca-on-other-systems