- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
05-20-2015 11:38 AM
I'm having SSL decryption issues with the latest versions of Firefox.
In Firefox i get following error when visiting a https site:
Secure Connection Failed
An error occurred during a connection to live.paloaltonetworks.com. security library: improperly formatted DER-encoded message. (Error code: sec_error_bad_der)
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the web site owners to inform them of this problem.
Seems to be related to how Firefox handles certificates, requiring them to be more secure (number of bits and encryption algorithm), but I haven't found the exact requirements yet.
I can generate and deploy a new certificate, but I'm not sure what will give me one Firefox will accept.
Any thoughts ?
05-21-2015 02:44 AM
Also seems related to the Issuer CN in the certificate (see 1153204 – Firefox doesn't connect to https://www.deutschepost.de/ because its issuer certificate con... )
In our case it contains the IP adres of the firewall, where Firefox seems to expect a dns name.
I have not been able to confirm this yet...
05-21-2015 07:27 AM
Does this happen with all https URLs?
05-21-2015 07:50 AM
All url categories that require decryption, yes. So the error definitely relates to the decryption certificate (and not the websites I'm trying to visit).
05-25-2015 12:27 PM
Hi Dieterb,
was your issue solved? if not, would be useful if you can write the Firefox version and the CA certificate information.
regards,
05-26-2015 03:05 AM
Firefox 38.
Firefox 37 and earlier are not affected.
I have not tried a newer beta yet.
Certificate is one generated with PA. It only contains a handful of default attributes (organization, email ...).
Replacing the IP with a valid dns entry did not resolve the issue.
One would call it a Firefox issue... But I guess it's the way the PA generates the certificate. Would be good to know if this issue is resolved with newer PANOS version or to have a workaround.
05-26-2015 11:38 AM
What version of Pan-OS are you using?
Also, does Chrome or Internet Explorer show the same error while the firewall is attempting to decrypt it?
05-26-2015 02:36 PM
It doesn't seem to affect IE or Chrome, but as of Firefox 38.01 we are also seeing the issue. Specifically for us its affecting https://accounts.google.com.
05-27-2015 07:41 AM
I bet you are correct, that this is happening due to Firefox handing the security/certificates differently than IE and Chrome.
This also has to deal with how PAN is decrypting and encrypting the traffic differently than what Firefox is expecting, thus causing this issue.
I would recommend opening a case with TAC - PAN Support, if you do not already have one to get this addressed.
05-27-2015 07:48 AM
Take a look at 1166216 – FF38, Secure Connection Failed (sec_error_bad_der) on internal certificates
Quote from David Keeler
One common issue appears to be the encoding of the RSA modulus. If the highest bit of an integer is set, the proper DER encoding requires a leading zero byte to indicate that the integer is a positive value, not negative.
This actually seems to confirm that PA generated certificates are faulty.
I have opened a case with our reseller. They are now trying to recreate the issue. If they can recreate, they will escalate to Palo Alto support.
06-02-2015 01:18 AM
This issue isn't present on 6.0.9 or 6.1.4.
I opened a case with PAN Support while we were on 5.0.14 and had this issue, and all they kept coming back to me was that 5.0.X doesn't support TLS1.2 and sent me to a link of their support cipher pages. I told them it wasn't related to that as I forced Firefox to only use TLS1.1 and disabled the unsupported ciphers and was still getting the same problem.
I was getting no where. In the end, we needed to move to 6.x anyway to use some of the new features.
06-05-2015 12:15 AM
I went trough the bugfixes and found these that may be related:
Especially the last one...
Upgrade to 6.0.10 is planned next week, so fingers crossed.
06-12-2015 01:27 AM
With the upgrade and after generating completely new certificates (root CA and client certificate are self signed in our case; server certificate is a public one), the issue seems to be resolved.
Our reseller helpdesk however did not confirm if it had anything to do with the listed bugfixes.
We still have issues with certain https websites, where Firefox throws the error
Secure Connection Failed
The connection to the server was reset while the page was loading.
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.
Example url: https://support.office.com/
07-06-2015 05:34 AM
This issue still exists in PAN-OS 7.0.0 and Firefox v39. I tried opening https://support.office.com and the firewall responsds with a FIN,ACK immediately:
The internal Root-CA certificate is imported to the Firefox Trusted CA store. The issue doesn't appear when loading the page with IE11 or Chrome43.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!