Hau!
just did it here
you must have openssl installed
in my linux box I did:
root@linux#> openssl req -new -nodes > cert.csr
Answer the questions and when Common Name (CN) is required type the pfsense machine name and make sure captive portal clients can resolve this name in DNS. So probably you´ll need to update you DNS server config.
Common Name (eg, YOUR name) []: pfsense.yournet.net
after that 2 files will be created --> cert.csr and privkey.pem
then you do:
openssl x509 -in cert.csr -out cert.pem -req -signkey privkey.pem -days 999
and a third file will be created --> cert.pem
In captive portal properties page you enable HTTPS Login, fill "HTTPS server name" with the same name you typed in CN above.
Again in linux box you type:
root@linux#> cat cert.pem
copy and paste all the output in "HTTPS Certificate" --> including ---- BEGIN CERTIFICATE and ---- END CERTIFICATE
Again in linux box you type:
root@linux#> cat privkey.pem
copy and paste all the output in "HTTPS Private Key" --> including ---- BEGIN RSA PRIVATE KEY and ---- END RSA PRIVATE KEY
last step is to change the captive portal page content and change address to https:// and port to 8001
FORM action=https://pfsense.yournet.net:8001
SAVE and test
now before load captive portal authentication page will be shown a warning about HTTPS conection and you can see the padlock down the browser.
thats it




