Dart HTTP Server and importing a SSL Certificate

点点圈 提交于 2019-12-01 19:39:10
ptDave

So after a long struggle I have finally succeeded in importing a certificate from GoDaddy properly into Darts HttpServer bindSecure.

In order to pull this off, first you must merge your key and the certificate from GoDaddy together.

This can be done using a variation of this: openssl pkcs12 -export -in website_cert.crt -inkey website_key.key -out website.p12 -name Name-Of-Cert -passout pass:SECRET

After... pk12util -i website.p12 -d 'sql:./' -W SECRET

You should now see the cert with the Name-Of-Cert value, (If you have a password on the db, apply the appropriate flags) certutil -L -d 'sql:./'

Now, verify certutil -V -u V -d 'sql:./' -n "Name-Of-Cert"

Credit to: https://stomp.colorado.edu/blog/blog/2010/06/04/on-setting-up-mod_nss/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!