S
S
Shutivets2017-10-20 14:01:57
css
Shutivets, 2017-10-20 14:01:57

Bitrix: http styles are loaded, https - no, why?

There is a site on which everything works without problems, the hoster installed an ssl certificate and the site works via https, but the styles are not loaded in the google chrome developer tool console either, for an unregistered user there are 19 errors, for a registered user - 99.
All links are relative, http there is nowhere, what to do I do not understand, tell me, please, experts.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Barmunk, 2017-10-20
@Shutivets

https://1c-bitrix-cdn.ru/ has a shamefully wrong certificate. Disable cdn as a temporary solution, but generally refer to them

A
Andrey Nikolaev, 2017-10-20
@gromdron

In fact, everything is as simple as 2x2: your site works on both http and httpS, and the CDN works EITHER for http OR for httpS.
On the page: /bitrix/admin/bitrixcloud_cdn.php?lang=en
On the advanced tab, check the "Site uses https" option.
The matter is that all resources are given are loaded from your site, but are given from other domain.
If you look at the line, they are loaded from "//brima.ru.opt-css.1c-bitrix-cdn.ru/", and when activated, the link will look like: "//opt-******. ssl.1c-bitrix-cdn.ru/", where ****** this will be your unique ID (everything will be done automatically after activating the checkbox).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question