Сам сайт открывается в браузере корректно, сертификат со всей цепочкой видит:
двигаясь от простого к сложному
Вы за автора решили
надо давать советы
$url = "https://api.telegram.org/bot".$Telegram_botkey."/setWebhook?url=https://nash-server.ru/".$Telegram_dir."/bot.php";
$l1=file_get_contents($url);
$response = json_decode($l1);
$s=print_r($response);
server {
server_name bot.test.com ;
ssl_certificate "/var/www/httpd-cert/www-root/bot.test.com_le1.crtca";
ssl_certificate_key "/var/www/httpd-cert/www-root/bot.test.com_le1.key";
ssl_ciphers EECDH:+AES256:-3DES:RSA+AES:!NULL:!RC4;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
add_header Strict-Transport-Security "max-age=31536000;";
ssl_dhparam /etc/ssl/certs/dhparam4096.pem;
charset UTF-8;
index index.php;
disable_symlinks if_not_owner from=$root_path;
include /etc/nginx/vhosts-includes/*.conf;
include /etc/nginx/vhosts-resources/bot.test.com/*.conf;
access_log /var/www/httpd-logs/bot.test.com.access.log;
error_log /var/www/httpd-logs/bot.test.com.error.log notice;
set $root_path /var/www/www-root/data/www/bot.test.com;
root $root_path;
gzip on;
gzip_comp_level 5;
gzip_disable "msie6";
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript;
location / {
location ~ [^/]\.ph(p\d*|tml)$ {
try_files /does_not_exists @php;
}
location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
expires max;
}
}
location @php {
fastcgi_index index.php;
fastcgi_param PHP_ADMIN_VALUE "sendmail_path = /usr/sbin/sendmail -t -i -f webmaster@bot.test.com";
fastcgi_pass unix:/var/www/php-fpm/www-root.sock;
fastcgi_split_path_info ^((?U).+\.ph(?:p\d*|tml))(/?.+)$;
try_files $uri =404;
include fastcgi_params;
}
listen 185.188.00.000:443 ssl;
}
server {
listen 443 default_server;
server_name _;
location / {
proxy_pass https://api.telegram.org;
}
}
В любом случае - тут всё есть: https://dev.1c-bitrix.ru/api_help/iblock/classes/c...