Issue with imported certificate for captive portal

Started by baneagle, May 16, 2023, 01:38:34 PM

Previous topic - Next topic
Hi there,

I'm having an issue with the captive portal I just set up.
Everything works fine until I set a certificate for my login page.

When I do it, The login page doesn't load and timeout.
I'm not sure where I should look at to solve this.

Here is what I can tell for now:

ps fax | grep lighttpd
22794  -  S       0:00.05 /usr/local/sbin/lighttpd -f /var/etc/lighttpd-api-dispatcher.conf
91102  -  S       0:01.12 /usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf
92331  0  S+      0:00.00 grep lighttpd

ls -asl /var/etc/lighttpd-*
4 -rw-r--r--  1 root  wheel  1894 May 16 11:39 /var/etc/lighttpd-api-dispatcher.conf
8 -rw-r--r--  1 root  wheel  7736 May 16 11:39 /var/etc/lighttpd-cp-zone-0.conf

/usr/local/sbin/lighttpd -D -f /var/etc/lighttpd-cp-zone-0.conf
Enter PEM pass phrase:
2023-05-16 12:59:59: (/usr/obj/usr/ports/www/lighttpd/work/lighttpd-1.4.69/src/mod_openssl.c.2548) ssl.cipher-list is deprecated.  Please prefer lighttpd secure TLS defaults, or use ssl.openssl.ssl-conf-cmd "CipherString" to set custom cipher list.


I'm guessing this is a problem with this certificate cause I don't have this type of issue if I work with the build-in cert.

Thanks for your insight and let me know if you need me to give you any other information.

Nobody can help me with this?  :'(

Maybe there is a way I can try to import a certificate with CLI?

The message "Enter PEM pass phrase" seems to indicate you forgot to decrypt you PEM key. Web servers usually want an unencrypted key.
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 800 up, Bufferbloat A+

Thanks a lot !!

I did not understand that I needed the decrypted PKey.