Re: Creating a CSR using OpenSSL v1.1.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Apr 29, 2021, at 8:15 AM, Matt Caswell <matt@xxxxxxxxxxx> wrote:
> 
> 
> On 29/04/2021 15:04, Joe Eremita wrote:
>> datasig_len = i2d_X509_REQ_INFO( req->req_info, NULL );
> 
> You can achieve this by instead doing:
> 
> datasig_len = i2d_re_X509_REQ_tbs(req, NULL);
> 
> See:
> 
> https://www.openssl.org/docs/man1.1.1/man3/i2d_re_X509_REQ_tbs.html
> 
> Matt


Is there demo code for creating a CSR?

demos/x509/mkreq.c seems to have gone away a while ago...

Thanks!





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux