puma-dev should work with https / SSL with just the initial install puma-dev -install
when you visit https://yourlocalsitename.dev
.
I can see the certificate in Chrome > Dev Tools > Security but it says
This page is not secure (broken HTTPS).
Certificate Error
There are issues with the site's certificate chain (net::ERR_CERT_AUTHORITY_INVALID).
How can I get puma-dev working in https locally?
If the normal puma-dev -install
doesn't work even after brew uninstall/install of puma-dev try this recommended here
Now try visiting https://yourlocalsitename.dev
again, but in a new tab, and it should be green for https.
this is the most recent method.
security add-trusted-cert -k login.keychain-db ~/Library/Application\ Support/io.puma.dev/cert.pem
https://github.com/puma/puma-dev/issues/84#issuecomment-269588573
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With