Sep 17, 2014

SSL Certifcate Fun...

Found it rather annoying to try to convert certificate files for the HealthVault platform. They expected .cer format which seemed to be of some funky variety. After digging a bit further, this is simply a self signed certificate which normally takes on a .crt file extension. Knowing this, you can simply google the best way to self sign a certificate for Microsoft, or you can use the commands below:


openssl req -new -key  server.key -out  server.csr
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
cp server.crt server.cer

Hope this saves someone some time!

No comments:

Post a Comment