# HTTPS/SSL Certificate Error DLG\_FLAGS\_INVALID\_CA

**URL:** <https://community.f5.com/t/https-ssl-certificate-error-dlg-flags-invalid-ca/40947>\
**Category:** Technical Forums\
**Tags:** big-ip, application-delivery\
**Created:** [May 3, 2019, 3:48pm UTC](https://community.f5.com/t/https-ssl-certificate-error-dlg-flags-invalid-ca/40947 "2019-05-03T15:48:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valeriob\_388834](https://avatars.discourse-cdn.com/v4/letter/v/e0b2c6/32.png) [@Valeriob\_388834](https://community.f5.com/u/Valeriob_388834)\
**Post date:** [May 3, 2019, 3:48pm UTC](https://community.f5.com/t/https-ssl-certificate-error-dlg-flags-invalid-ca/40947/1 "2019-05-03T15:48:28Z")

</div>

Hello all, I’m trying to work this out, but I will need some help from you guys.

I’m running apache2 on Debian 9, the apache web server is behind an f5 BIG-IP that does load balancing and manage the SSL encryption and decryption for the apache web server.

The certificate is installed on F5 but when I try to reach the web page I get this error:

"Your PC doesn’t trust this website’s security certificate. The hostname in the website’s security certificate differs from the website you are trying to visit. Error Code: DLG\_FLAGS\_INVALID\_CA DLG\_FLAGS\_SEC\_CERT\_CN\_INVALID "

in the certificate the domain assigned is \*.mysite.com

on the apache2 web server I’ve tried the following:

in apache2.conf I’ve tried to define ServiceTokens FULL SecServerSignature ";

In /enabled-website/000-default.cof: ServerName [mywebsite.com](http://mywebsite.com) ServerAlias \*.mywebsite.com

but still throwing that error, could you please help me with this?

Regards, Valerio

---

<div class="post-metadata">

**Author:** ![Valeriob\_388834](https://avatars.discourse-cdn.com/v4/letter/v/e0b2c6/32.png) [@Valeriob\_388834](https://community.f5.com/u/Valeriob_388834)\
**Post date:** [May 3, 2019, 3:49pm UTC](https://community.f5.com/t/https-ssl-certificate-error-dlg-flags-invalid-ca/40947/2 "2019-05-03T15:49:45Z")

</div>

Small mistake, “in the certificate the domain assigned is \*.mysite.com” will be \*.mywebsite.com

---

<div class="post-metadata">

**Author:** ![ellite23](https://avatars.discourse-cdn.com/v4/letter/e/f0a364/32.png) [@ellite23](https://community.f5.com/u/ellite23)\
**Post date:** [May 6, 2025, 6:02am UTC](https://community.f5.com/t/https-ssl-certificate-error-dlg-flags-invalid-ca/40947/3 "2025-05-06T06:02:46Z")

</div>

For the error that you are facing, you can check out for the error solution at:- &nbsp;[https://cheapsslweb.com/blog/how-to-fix-dlg\_flags\_sec\_cert\_cn\_invalid/](https://cheapsslweb.com/blog/how-to-fix-dlg_flags_sec_cert_cn_invalid/).

I hope it helps!
