

But I learned a bit about public key cryptography and openssl while going through this exercise. I’m sure there are other ways to tackle this with openssl using less steps or more optimized commands. Alright, so that was alot of steps but it solved the problem my friend had at the time. Switch your site bindings to use the cert et voila. pfx file that IIS needs: sudo openssl pkcs12 -export -out hank.pfx -inkey hank.key -in hank.crt Enter Export Password: Verifying - Enter Export Password: 8. Sign the CSR with your CA key: sudo openssl x509 -req -in hank.csr -CA hankrootCA.pem -CAkey hankrootCA.key -CAcreateserial -out hank.crt -days 500 -sha256 7. Create your site CSR - be sure to use your IP address as Common Name: sudo openssl req -new -key hank.key -out hank.csr 6. pem file, but import it anyway it’ll work. I loaded MMC and the certifcate snap-in for “Computer”. pem file and import it into the computer running your browser under “Trusted Root Certificates” Store. Generate your own CA cert using the key: sudo openssl req -x509 -new -nodes -key hankrootCA.key -sha256 -days 1024 -out hankrootCA.pem 3. Generate your own CA key: sudo openssl genrsa -out hankrootCA.key 2048 Generating RSA private key, 2048 bit long modulus. I did a bit of research and basically came up with these steps: 1. Well, not harder, but Chrome is definitely picky about what it deems is a secure certificate - and rightly so. As Chrome is now doing great things with browser UI, it’s harder to get that shiny, green “Secure” label on your website.
FIND THE RABBIT CRYPTO INSTALL
And he needed to run this on a local IIS install on his laptop.

He didn’t want the clients to see warnings but needed to host the demo on an ip address instead of a domain name. A while ago a friend was running into browser warnings in a demo IIS environment that he set up to show clients some new functionality that his web service was working on. This time around I wanted to see if I could create a best-practice-secure certificate that can sign other certificates…kind of like rolling my own Root CA.


FIND THE RABBIT CRYPTO HOW TO
Oftentimes I try to figure out how to do something “the right way” so I can learn how it works. Alright, with that disclaimer out of the way, I’ll get to what I wanted to write about. But I am fascinated by this subject, and I try to heed the words of those whom I have discovered to be experts in the field. I’m not a math major nor does my life lend itself to spending large amounts of time groking the math behind modern-day cryptography. But at it’s essence, cryptography is math. I read about it, I use toolsets that implement cryptography such as openssl and PyNaCl. But yeah, stop calling bitcoin and bitcoin-wannabes “crypto”. While I don’t disagree with the assertion that “cryptocurrency” is not “crypto”, I try not to use energy to fight against the evolution of language however much it may make me cringe.
FIND THE RABBIT CRYPTO SERIES
I wasn’t going to name this series of blogposts “tumbling down the crypto rabbit hole”…because increasingly the word “crypto” has been used to define “cryptocurrency”…much to the dismay of many in the infosec community such as Sarah Jeong and Isis Lovecruft. Tumbling down the crypto rabbit hole - Part I
