3 ms·
My "issue" with X509 is that it's hard to create certificates in code. I have not seen a single software package I use do it from scratch. They always use a lib
by jgaa 2y ago
My "issue" with X509 is that it's hard to create certificates in code. I have not seen a single software package I use do it from scratch. They always use a library.
The X509 library functions in openssl is horrific, with plenty of opportunities to mess up.
It's a paradox that something that is designed to improve security is designed in a way that make it extremely hard to implement it in a clean and secure manner.
- jen20 2y agoNot “from scratch”, but the Go standard library contains very easy-to-use functions around requests, certificates, keys and CRLs. OpenSSL is a different story of course and it is unfortunate that so many ecosystems just wrap it.