Hi! I was trying to create a self-signed ssl certificate for mist, so that I could serve my website over https in development. (The reason for this is that I want to test it on other devices on the network, and the website requires geolocation, which requires https.)
I googled around and tried several different methods of creating a certificate file and key file (the keychain access app on macos, and openssl with varying options), but every time I would get an error from erlang saying no_certs. The mist docs don't say what format the cert and key files should be in for mist.with_tls(), and I tried reading the erlang docs for ssl:listen/2 but couldn't figure it out.
I don't know very much about certificates, especially when it comes to creating them or the file formats. How can I create cert/key files that mist will accept to start the server using https?