当您访问普马德夫时,puma-dev -install应该与https / SSL一起使用初始安装puma-dev -install。
我可以在Chrome > Dev Tools > Security中看到证书,但它说
This page is not secure (broken HTTPS).
Certificate Error
There are issues with the site's certificate chain (net::ERR_CERT_AUTHORITY_INVALID).如何让puma-dev在本地https中工作?
发布于 2017-01-13 18:45:28
如果普通的puma-dev -install甚至在puma-dev的brew卸载/安装之后也不能工作,请尝试使用此建议在此
现在再次尝试访问https://yourlocalsitename.dev,但是在一个新选项卡中,它应该是绿色的。
发布于 2020-06-19 07:16:13
这是最新的方法。
security add-trusted-cert -k login.keychain-db ~/Library/Application\ Support/io.puma.dev/cert.pemhttps://github.com/puma/puma-dev/issues/84#issuecomment-269588573
发布于 2019-02-27 23:05:08
在最近的MacOS/X版本中,证书的拖放功能不适用于Chrome:
openssl s_client -connect 127.0.0.1:443 -servername your.site.localhost -showcerts。在显示证书数据时中断。--- BEGIN CERTIFICATE行到--- END CERTIFICATE行(包括它们)的输出。sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain <certificate file>https://stackoverflow.com/questions/41641424
复制相似问题