大网数据广告活动
服务器运维问答

Enterprise Root CA and Firefox only SEC_ERROR_UNKNOWN_ISSUER error

· 52CE 我爱测

So, I went down the route of setting up an enterprise CA in my domain so we can enable SSL on our internal web apps. For my test base, I am using XAMPP on Windows with a .local FQDN. I am using Microsoft Active Directory Certific…

问题原文

原帖链接 · James · CC BY-SA 4.0

So, I went down the route of setting up an enterprise CA in my domain so we can enable SSL on our internal web apps. For my test base, I am using XAMPP on Windows with a .local FQDN. I am using Microsoft Active Directory Certificate Services for the CA.

After (many) trials and tribulations, I have got a mostly-working example. So, the web app works on IE, Edge and Chrome, however it does not work on Firefox.

The Firefox error(s) are:

Warning: Potential Security Risk Ahead Error code:

SEC_ERROR_UNKNOWN_ISSUER

Could not verify this certificate because the issuer is unknown

I have tested this on several workstations with the same results. Firefox is the latest version.

I get no errors when I load the cert in openssl:

openssl x509 -in "C:\xampp\apache\conf\ssl.crt\certname.crt"

I get the two below errors when I run:

openssl s_client -connect server.local:443 

verify error:num=20:unable to get local issuer certificate

verify error:num=21:unable to verify the first certificate

I have the option of downloading a 'Certificate chain' from my CA but this comes in a .p7b format. Contents of this are a single certificate.

When I convert the file to a .crt or even use the .p7b in httpd-xampp.conf, Apache won't start up afterwards. It starts fine without the below entry.

SSLCertificateChainFile "conf/ssl.crt/chain-cert.crt"

Any ideas?

已采纳解答

原帖链接 · RobbieCrash · CC BY-SA 4.0

According to Mozilla's documentation, as of FF64 the recommended way to install certificates is through an Enterprise Policy. Due to a (currently) open bug you need to manually install all intermediate certs as well as the root.

You can download Firefox GPO templates from here: https://github.com/mozilla/policy-templates/tree/master/windows

You can individually test by setting "security.enterprise_roots.enabled" preference to true in about:config.

More detailed information can be found here: https://wiki.mozilla.org/CA/AddRootToFirefox

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-08-22)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。