pkgsrc-Users archive

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

Re: minihttpd ssl certfile



Please CC me in the mail. I cannot subscribe to the list for some reason!
Thanking you
Sagar Acharya
http://humaaraartha.in <https://humaaraartha.in>



15 May 2023, 23:43 by sagaracharya%tutanota.com@localhost:

> I am using mini_httpd package as in repos of NETBSD to host my site on link below. I want to add an ssl certfile for which I'm getting an error as follows:
>
> 4294967295:error:0909006C:PEM routines:get_name:no start line:/usr/src/crypto/external/bsd/openssl/dist/crypto/pem/pem_lib.c:745:Expecting: CERTIFICATE
> 4294967295:error:140AD009:SSL_CTX_use_certificate_file:PEM lib:/usr/src/crypto/external/bsd/openssl/dist/ssl/ssl_rsa.c:387:
>
> I have used the cert as in the format below. Any help is appreciated!
>
> https://github.com/anarsoul/openwrt-packages/blob/master/net/mini_httpd/files/mini_httpd.pem
>
> I read the code and mini_httpd.c includes libraries openssl/ssl.h
> openssl/err.h
>
> I wonder if NetBSD takes care of openssl's above libraries.
>
> Thanking you
> Sagar Acharya
> http://humaaraartha.in <https://humaaraartha.in>
>


Home | Main Index | Thread Index | Old Index