Skip to content

Certificate not generating when spaces in filepath #862

@cdavid138

Description

@cdavid138

Hi there,

I've been battling with this for a couple of days and looking for some assistance.

It seems to be since moving my user folder onto a different internal HD, i'm unable to generate SSLs for sites getting the error:

nginx: [emerg] cannot load certificate "/Volumes/Storage HD/Users/david/.config/valet/Certificates/healthkit.test.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/Volumes/Storage HD/Users/david/.config/valet/Certificates/healthkit.test.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed

I've read through
#807
#329

Unfortunatley those errors have not helped.

Running
Mac OS: 10.15.1
Valet: 2.5.4

~ brew services list
Name      Status  User  Plist
dnsmasq   started root  /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
mysql@5.7 started david /Volumes/Storage HD/Users/david/Library/LaunchAgents/homebrew.mxcl.mysql@5.7.plist
nginx     started root  /Library/LaunchDaemons/homebrew.mxcl.nginx.plist
php@7.3   started root  /Library/LaunchDaemons/homebrew.mxcl.php@7.3.plist

Certificates not successfully being generated but no errors when using valet secure

~ ls -ltr ~/.config/valet/Certificates
total 24
-rwxrwxrwx  1 david  staff  1675  3 Dec 09:45 healthkit.test.key
-rwxrwxrwx  1 david  staff  1074  3 Dec 09:45 healthkit.test.csr
-rwxrwxrwx  1 david  staff   744  3 Dec 09:45 healthkit.test.conf

Completely fresh install as of yesterday evening, all help appreciated thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions