<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Hi Benoît,</div><div class=""><br class=""></div>If the below is what you are looking for, then I can also isolate it in a separate library app for inclusion in your projects.<div class=""><br class=""></div><div class="">- Marc<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 9 Mar 2020, at 07:25, Marc Worrell <<a href="mailto:marcw@pobox.com" class="">marcw@pobox.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class="">Hi Benoit,<div class=""><br class=""></div><div class="">Maybe this helps:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/zotonic/zotonic/blob/master/apps/zotonic_core/src/support/z_ssl_certs.erl#L313" class="">https://github.com/zotonic/zotonic/blob/master/apps/zotonic_core/src/support/z_ssl_certs.erl#L313</a></div><div class=""><br class=""></div><div class="">Cheers, Marc<br class=""><br class=""><div dir="ltr" class="">Sent from my iPhone</div><div dir="ltr" class=""><br class=""><blockquote type="cite" class="">On 9 Mar 2020, at 00:34, Benoit Chesneau <<a href="mailto:bchesneau@gmail.com" class="">bchesneau@gmail.com</a>> wrote:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">How can I get informations about an SSL certificate ? Specifically I am looking for a way to retrieve the issuer, subject, and the serial number of the certificate.<br class=""></div><div class=""><br class=""></div><div class="">The record I get from decoding using public_key functions is hard to parse so any help is welcome. Maybe there is already an api/app somewhere for it?</div><div class=""><br class=""></div><div class="">Benoît</div><div class=""><br class=""></div><div class=""><br class=""></div></div>
</div></blockquote></div></div></div></blockquote></div><br class=""></div></body></html>