Назад | Перейти на главную страницу

Google Firebase Cloud Messaging отсутствует в ca_root_nss?

Мы пытаемся перенести наши push-сервисы на Google Firebase Cloud Messaging. На машинах для разработки (на которых работает Linux) все в порядке, но в системе интеграции (которая работает на FreeBSD, как и остальные продуктивные системы) возникает странная ошибка ssl.

В Linux я могу завить https://fcm.googleapis.com/fcm/send"и получите правильный ответ, но во FreeBSD он говорит:

curl: (60) SSL certificate problem: unable to get local issuer certificate

и "получить https://fcm.googleapis.com/fcm/send"отвечает:

Certificate verification failed for /C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
34380949368:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s3_clnt.c:1180:
fetch: https://fcm.googleapis.com: Authentication error

файл ca_root_nss обновлен, а информация о пакете ca_root_nss говорит:

ca_root_nss-3.27.1
Name           : ca_root_nss
Version        : 3.27.1
Installed on   : Fri Nov 11 15:54:47 2016 CET
Origin         : security/ca_root_nss
Architecture   : freebsd:10:*
Prefix         : /usr/local
Categories     : security
Licenses       : MPL
Maintainer     : ports-secteam@FreeBSD.org
WWW            : UNKNOWN
Comment        : Root certificate bundle from the Mozilla Project
Options        :
        ETCSYMLINK     : on
Annotations    :
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 896KiB
Description    :
Root certificates from certificate authorities included in the Mozilla
NSS library and thus in Firefox and Thunderbird.

This port directly tracks the version of NSS in the security/nss port.

Может быть, сертификаты сервера Google Firebase отсутствуют в базе данных ca_root_nns, используемой FreeBSD?

Что я могу сделать, чтобы импортировать цепочку сертификатов propper?