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

NPX Envault Setup Error through Valet #28

Closed
vbasky opened this issue Jan 6, 2021 · 1 comment
Closed

NPX Envault Setup Error through Valet #28

vbasky opened this issue Jan 6, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@vbasky
Copy link

vbasky commented Jan 6, 2021

When I have Envault setup through secure local Valet and create a new app and I tried to install the command on my Laravel app where I intend to use Envault through

npx envault envault.test 1 secret_token

I get this error

Welcome to Envault!
No more .env update nightmares from now on, we promise 🤗

Preparing a few things...

Uh oh! Looks like your setup token is invalid, please get another!
Error: unable to verify the first certificate

What am I doing wrong ?

OS: macOS Big Sur
PHP: 7.4.13

@vbasky vbasky added the bug Something isn't working label Jan 6, 2021
@danharrin
Copy link
Member

Hi @vbasky! You're not doing anything wrong. This error is being caused by the fact that Valet issues self-signed SSL certificates. These are not secure and thus should not be used to host an Envault server. All data sent from your Envault server should be properly SSL signed in all cases to avoid interception. Please consider hosting your server elsewhere so that you are able to issue a full certificate easily, or look into importing a custom certificate for Valet.

Any other issues - please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants