Setting up an SSL certificate for a 1C-Bitrix website

Our company is engaged in the development, support and maintenance of Bitrix and Bitrix24 solutions of any complexity. From simple one-page sites to complex online stores, CRM systems with 1C and telephony integration. The experience of developers is confirmed by certificates from the vendor.
Our competencies:
Development stages
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1175
  • image_bitrix-bitrix-24-1c_fixper_448_0.png
    Website development for FIXPER company
    811
  • image_bitrix-bitrix-24-1c_development_of_an_online_appointment_booking_widget_for_a_medical_center_594_0.webp
    Development based on Bitrix, Bitrix24, 1C for the company Development of an Online Appointment Booking Widget for a Medical Center
    564
  • image_bitrix-bitrix-24-1c_mirsanbel_458_0.webp
    Development based on 1C Enterprise for MIRSANBEL
    747
  • image_crm_dolbimby_434_0.webp
    Website development on CRM Bitrix24 for DOLBIMBY
    655
  • image_crm_technotorgcomplex_453_0.webp
    Development based on Bitrix24 for the company TECHNOTORGKOMPLEKS
    976

SSL Certificate Setup for a 1C-Bitrix Site

Installing an SSL certificate is not just about obtaining the certificate. After switching to HTTPS in Bitrix, you need to re-save the site settings — otherwise resources (CSS, JS, images) will continue loading over HTTP, and the browser will display a mixed content warning or block the page entirely.

Obtaining and Installing a Certificate

Let's Encrypt — free option with auto-renewal via certbot:

certbot --nginx -d example.com -d www.example.com

Certbot automatically modifies the nginx configuration. Verify that a renewal task has been added to cron:

0 3 * * * /usr/bin/certbot renew --quiet

Commercial certificates (Sectigo, DigiCert) — required when OV/EV validation is needed or for subdomains via wildcard (*.example.com). Wildcard certificates from Let's Encrypt are also available but require a DNS challenge.

Bitrix Settings After SSL Installation

After installing the certificate and enabling HTTPS in nginx/Apache:

  1. Settings → Product Settings → Sites → [your site] — change the protocol to https and save
  2. Settings → Main Module — check the "Site Domain" field — it should not include http://
  3. Clear the cache: Settings → Module Management → Main → Clear Cache

In /bitrix/php_interface/dbconn.php or /bitrix/.settings.php, verify that no http:// is hardcoded in paths.

Mixed Content

The most common issue after migration — some resources still load over HTTP. Search the database:

SELECT ID, DETAIL_TEXT FROM b_iblock_element
WHERE DETAIL_TEXT LIKE '%http://example.com%'
LIMIT 100;

For bulk URL replacement in content — use str_replace via a migration script or a search/replace module from the Marketplace. Check component settings for hardcoded HTTP links.

Real-World Case

A store running "Bitrix: Site Management", Business edition. After installing Let's Encrypt and enabling HTTPS, the browser showed an "insecure" warning. The cause: the sale.order.ajax component had an absolute URL hardcoded for AJAX requests (http://example.com/bitrix/components/...). Additionally, several banners in b_iblock_element_property contained HTTP image links. After replacing all links, the certificate displayed correctly.

Delivery Time

Let's Encrypt certificate installation and Bitrix configuration — 2–3 hours. Including mixed content remediation on a large site — up to 1 business day.