Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[SRX] HTTPS access fails with "ERR_SSL_SERVER_CERT_BAD_FORMAT" error



Article ID: KB35246 KB Last Updated: 15 Nov 2019Version: 1.0

This article explains what users must do when they encounter the ERR_SSL_SERVER_CERT_BAD_FORMAT error during HTTPS access after enabling SSL Proxy on SRX devices.


After enabling SSL Proxy, when users access the device using HTTPS, they run into the ERR_SSL_SERVER_CERT_BAD_FORMAT error.


The above error is caused by the self-signed certificate missing the add-ca-constraint option, which specifies that the certificate can be used to sign other certificates.


To resolve this error, configure the following option when you create a self-signed certificate for SSL Proxy.

request security pki local-certificate generate-self-signed certificate-id SECURITY-cert domain-name subject,L=Sunnyvale,O=Mydomain,OU=LAB,CN=SECURITY email add-ca-constraint

For details on how to configure SSL Proxy, refer to Configuring SSL Proxy.

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search