Solved CUPS installation: "Unable to encrypt connection: Unable to create server credentials."

Hi

I did a fresh installation of FreeBSD (FreeBSD 12.2-RELEASE-p6 FreeBSD 12.2-RELEASE-p6 GENERIC amd64). I try to install a printer by the Web interface and it fails:
Code:
This site can’t be reached
192.168.1.108 unexpectedly closed the connection.

CUPS's error_log show this:
Code:
D [12/Apr/2021:16:20:19 -0400] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [12/Apr/2021:16:20:19 -0400] [Client 122] Server address is "192.168.1.108".
D [12/Apr/2021:16:20:19 -0400] [Client 122] Accepted from 192.168.1.123:50183 (IPv4)
D [12/Apr/2021:16:20:19 -0400] [Client 122] Waiting for request.
E [12/Apr/2021:16:20:19 -0400] [Client 122] Unable to encrypt connection: Unable to create server credentials.
D [12/Apr/2021:16:20:19 -0400] [Client 122] Closing connection.
D [12/Apr/2021:16:20:19 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [12/Apr/2021:16:20:19 -0400] [Client 122] Waiting for socket close.
D [12/Apr/2021:16:20:19 -0400] [Client 122] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [12/Apr/2021:16:20:19 -0400] [Client 122] Closing connection.
D [12/Apr/2021:16:20:19 -0400] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"

What you you think?
What I did wrong?

Best regards
 
CUPS works over http://localhost:631/.

I tried to set it to https://, and according to what I read, I'm unsure if CUPS allows encrypted connections within a LAN.

For putting it on a local secure LAN, rather than just the computer's localhost, Samba may be a requirement.

Hopefully, something can work in the direction you're trying to go in. Try it on localhost first, to see that work. Then see if what you're trying to do with CUPS is possible: moving it to https, and moving it from localhost to your LAN.
 
Back
Top