Molly Brown Certificate Zone Help
newsspeak11 at gmail.com
Sun Feb 14 00:31:18 GMT 2021
I am trying to set up a server using Molly Brown and am having trouble
implementing its "Certificate Zone" feature. If this isn't the correct
forum for this question, please let me know.
So far, I've set a directory require a certificate and successfully tested
it - I am free to access all areas on the site and receive a certificate
challenge to the one directory as configured.
The problem I'm having is understanding how to add a specific client
fingerprint to the "allowed" list in the config file. The Molly Brown
documentation specify an allowed value takes the format of "hex-encoded
SHA256 fingerprints of client certificates". I have what I think is a valid
fingerprint that I then converted into hex added to this section (which is
significantly longer than any of the examples provided), but the
corresponding certificate is rejected when provided.
I am certain this is user error. I have very little knowledge on how to
manage certificates and rely on google searches when generated the correct
ones for this server. Assuming the values provided in the example config
file are based on real, working values, my value is nearly 4 times as long.
Here's what I did:
1. Generate a new key with following command:
> openssl req -new -newkey rsa:4096 -x509 -sha256 -days 3650 -nodes -out
> cert.crt -keyout key.key
2. Changed extension on output keys to .pem as required by Kristall Browser
3. Imported ley and cer into Kristall
4. Converted the fingerprint of the cert into hexadecimal with the
> echo -n "[Fingerprint went here]" | od -A n -t x1
> 5. Copied hexadecimal value into Molly Brown configuration file so the section looks like this:
"^/foo/" = [
> # "d146953386694266175d10be3617427dfbeb751d1805d36b3c7aedd9de02d9af",
6. Relaunch Molly Brown
Apologies if this is an elementary problem or the incorrect forum for
such a question and appreciate any help that is provided.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gemini