[erlang-questions] Generate RSA private key (writing letsencrypt client)

Serge Aleynikov <>
Wed Jan 20 13:59:31 CET 2016


I faced the same issue and had to resort to the RSA_generate_key call in C.

On Wed, Jan 20, 2016 at 5:04 AM, Max Lapshin <> wrote:

>
> Hi.  I cannot find a way to generate RSA private (and public) key from
> erlang.
>
> I've looked through public_key sources and have found Yuri's cutkey:
> https://github.com/yrashk/cutkey/blob/master/src/cutkey.erl
>
> I haven't found any code in public_key sources that does something like
> cutkey does.
>
> But I don't want to add extra dependency, maybe something has changed and
> it is
> possible to generate RSAPrivateKey.
>
> I'm writing client for letsencrypt and want fully automate all things
> without calling openssl via command line.
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160120/6c1b257e/attachment.html>


More information about the erlang-questions mailing list