I recently built a m0n0wall server and was looking to enable the certs. I
built some self signed certificates in what I thought was the right format
(RSA private key in PEM, x.509 in PEM) but apparently not because when I
pasted them in, the box would no longer function and I couldn't log in
through the PHP front end. I had to do a complete reset of the config to
get back in.
Does anyone have the specific steps for how to create the certs in the
format that M0n0wall likes? I also wasn't sure if I should paste in the
cert with the parts at the beginning like:
-----BEGIN RSA PRIVATE KEY-----
I think having these instructions in the m0n0wall handbook would really
help people due to the fact if you sign it wrong - there isn't a
checker/validator and you can completely lock yourself out other than
going in through the console.
I don't want to go through that a second time - was hoping someone had the
specific commands to create the right cert/key and what specifically to
paste into the PHP windows so it works.