Well; maybe got something (certificate imported, appeared in the list for the GUI, let me select it for the GUI; GUI restart happening while I type).
Totally bizarro sequence though.
Created a new key and CA, seemed to be same params, but just following a different cookbook step by step.
Created a CSR, then created a certificate. I’m wondering if the key difference is the CN and SANs, note slight differences from what I posted earlier.
For the record, the config file I used to create the csr is:
[ req ]
distinguished_name = req_distinguished_name
req_extensions = v3_req
prompt = no
[ req_distinguished_name ]
C = US
ST = Minnesota
L = Minneapolis
O = Blaisdell Poly
OU = IT
CN = fsfs.local
[ v3_req ]
subjectAltName = @alt_names
[ alt_names ]
DNS.1 = fsfs.local
DNS.2 = fsfs
IP.1 = 192.168.1.205
Packaged the two together into a PEM file. (Tried uploading the two independently first. That errored out, same “failed but no information” message.) When I pasted the PEM file in as a certificate, it appeared in the list for GUI certs, but when I selected it, I got an error saying there was no private key.
So then I tried something bonkers, and pasted in the PEM file as the certificate, and then also pasted in the private key separately (no password, left that field empty). That also imported okay, and also appeared in the list of certificates for the GUI – and when I selected it it LET ME! Then it has to restart the GUI, and that’s where I am this moment. YES! It worked, I can now connect via https (had to tell firefox to trust this new self-signed certificate, no surprise there).
But yikes. There are clearly bugs here! (I’m running TrueNAS SCALE 25.10.3.1.) I’ve got a key and cert that work, which is good, but the obvious way to install them doesn’t work, and fails very uninformitavely.
I guess I have to try to file a ticket with enough information to reproduce the problem.
Dunno if it’s a good enough bug report, but Jira