I have a webserver behind the Omnia. The Omnia has ports 80 and 443 open right now, and I used certbot to issue the certificate.
There’s a thread here describing the whole setup more or less:
but the key summary is that the certificate is issued fine by certbot and it validates fine byc ertbot and I can see that it has the issuer set right with a test that letsencrypt recommend:
$ openssl x509 -in /etc/letsencrypt/live/leaderboard.space/cert.pem -issuer -noout
issuer=C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
and yet, if I try to access the web page the browser complains with SEC_ERROR_UNKNOWN_ISSUER and if I test form outside:
https://decoder.link/sslchecker/leaderboard.space/443
I can see that Issuer Organization is munged by the Omnia to: Turris
How? And why? And how can I get the Omnia firewall to pass through the certificate unmunged?
FYI the web site runs fine, all is good, just this certificate not recognized as trusted. It is accessed via a DDNS domain name, and lighttpd on the Omnia forwards that domain to my webserver:
$HTTP["host"] == "leaderboard.space" {
proxy.server = ( "" => ( ( "host" => "192.168.0.14" ) ) )
}
and on the webserver itself lighttpd serves the site and is configured:
$HTTP["host"] =~ "(leaderboard.space|arachne.lan)" {
server.name = "leaderboard.space"
server.document-root = "/var/www/html/leaderboard.space"
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.ca-file = "/etc/letsencrypt/live/leaderboard.space/chain.pem"
ssl.pemfile = "/etc/letsencrypt/live/leaderboard.space/combined.pem"
ssl.honor-cipher-order = "enable"
ssl.use-sslv2 = "disable"
ssl.use-sslv3 = "disable"
}
url.rewrite-once = ( "^/favicon\.ico$" => "/static/favicon.ico" )
$HTTP["url"] !~ "^/static/" {
scgi.protocol = "uwsgi"
scgi.server = ( "/" => (( "socket" => "/var/run/lighttpd/uwsgi.socket-0", "check-local" => "disable" )), )
}
}
More details on the letsencrypt forum if needed or provided if needed. But the issue is that I can see the issuer as “Let’s Encrypt” when I test it from the LAN side of the Omnia and as “Turris” when I test it from the WAN side. So it seems like the Omnia is intervening and altering the Issuer.
Any help here appreciated.
As an aside all the letsencrypt threads I found on the forum already related to certificates stored on the Omnia for the Omnia and I am using a webserver behind the Omnia.