[erlang-questions] Decoding certificates using public_key:pkix_decode_cert/2 (and a bug in public_key_SUITE?)

Andrew Thompson <>
Fri Feb 21 17:30:34 CET 2014

On Fri, Feb 21, 2014 at 04:14:07PM +0000, Roger Lipscombe wrote:
> 0. (the most important) how do I get the CN out of a certificate?

This is how I do it (and by extension how Riak does it):


I also was unable to find a better way to do it.


More information about the erlang-questions mailing list