User-943250815 posted
Due to nature of Certificates and how Browser makers decided to deal with, there is no other way.
On the other hand, what browsers do is just an notification, user should decide to go ahead or not.
In begining of e-commerce, was recommended move up to https to have communication encrypted and some privacy, browsers became to show a "locker", but it showed on any https, later browser makers decided to improve and created actual notification.
There are option on browser config, where you can set your https url as trusted, I think this set can get rid the notification