I’ve read the instructions on http://wiki.mikrotik.com/wiki/Manual:Create_Certificates , but don’t know what to put for ca-crl-host.
As such, I can’t create the CA… (putting the local address gives me “wrong CA key usage with CRL”. )
So I created certificates with Easy-RSA and imported them, but the results are not what they need to be:
Flags: K - private-key, D - dsa, L - crl, C - smart-card-key, A - authority,
I - issued, R - revoked, E - expired, T - trusted
# NAME COM.. SUBJECT-ALT-NAME FIN..
0 T cert_1 ca email:admin@shpe1 97f..
1 K T cert_2 mik.. email:admin@shpe1 171..
As you can see, cert_1 isn’t marked as authority (cert_2 is the server certificate).
Also why can’t I change the names of the entries??
How can I do this properly so I can sign certificates from the router and have them where I need them rightaway instead of keeping a store where I don’t want/need it and having to upload the files?
I gave up on signing on the router itself, since it didn’t seem like I could export the key for clients.
Keys generated by EasyRSA 2.x didn’t seem to get recognized properly either (cfr CA didn’t get recognized as authority), but success with EasyRSA 3.x: I imported the CA certificate and signed a csr created for the router and now have a functioning authority and server certificate on the router!
Anyway, as ususal: you spend a lot of time looking for a solution, and as soon as you ask for help somewhere and before anyone can respond, you find the solution!
Now that we’re on the topic, is there a way to tag the certificate as a server certificate so that it contains nsCertType=server?
Adding tls-server to key-usage does not seem to do the trick, because the OpenVPN client with ‘ns-cert-type server’ still complains that it is missing.
Wouldn’t this be something worth adding to the wiki as well or is this so common that I should have known that it doesn’t export the key without a passphrase?
Hi, the procedure in this thread works well, I am just not clear about two points:
How to export signed CRL file to be published at public web site
How to reference such a public site. The system currently accepts only IP address, which is translated into hardcoded reference.
[1]CRL Distribution Point
Distribution Point Name:
Full Name:
URL=http://192.168.50.1/crl/9.crl