S
S
Sergey A2020-02-27 13:56:22
JavaScript
Sergey A, 2020-02-27 13:56:22

Bitrix, problem with socket initialization?

Bitrix log:
2020-Feb-27 17:21:23 Integration with external applications (MS Office, Outlook, Exchange) via a secure connection to the portal (check_socket_ssl): Warning
Connection to ssl://portal.mysite.ru:443 (certificate check enabled) Fail
Connection to ssl://portal.mysite.ru:443
Success The server has an invalid SSL certificate, there may be problems in integrating with external applications

The site itself opens correctly in the browser, the certificate with the entire chain sees:
5e579fc4ace1c239676650.png
ca-bundle added to etc/pki/ca-trust/source/anchors

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Zhuk, 2019-07-08
@fuckingawesomenigga

If in a quick and not very neat way, then you can do this:

var selectCategory = function(gender){

  $("#"+gender).click(function(event) {
    $('section').removeClass('show');
    $("."+gender).addClass('show');
  });

}

var loadCategory = function(options){

  $("."+options.gender+" #"+slug).click(function(event) {
    $.ajax({
            url: 'output.php',
            data: { gender: gender, category: options.slug},
        })
        .done(function(data) {
          $('section').removeClass('show');
          $(".items-list").addClass('show');
            $(".items-list .title").text(options.title);
            $(".items-list .items").text(data);
        })
        .fail(function() {
            console.log("error");
        });
  });

}

selectCategory('male');
selectCategory('female');

loadCategory({slug: 'footwear', gender: 'male', title: 'Male footwear'});
loadCategory({slug: 'sneakers', gender: 'male', title: 'Male sneakers'});
loadCategory({slug: 'clothes', gender: 'male', title: 'Male clothes'});
loadCategory({slug: 'footwear', gender: female', title: 'Male footwear'});
loadCategory({slug: 'sneakers', gender: 'female', title: 'Male sneakers'});
loadCategory({slug: 'clothes', gender: 'female', title: 'Male clothes'});

S
Sergey A, 2020-03-02
@SeregaKote

The problem was in the certificate chain. Added all the certificates to the file with the site certificate, the final chain has changed and now everything works
5e5c80c716542657072025.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question