2017-02-26 5 views
0

HTTPSプロトコルを使用してNode.jsアプリケーションを作成します。私はNode.js HTTPSサーバーの確認に失敗しました

https://docs.nodejitsu.com/articles/HTTP/servers/how-to-create-a-HTTPS-server/ nodejitsuからチュートリアルに従っしかし、私は、サーバーに要求を送信したとき、私は次のエラーをGitリポジトリ閲覧:

curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none 
More details here: http://curl.haxx.se/docs/sslcerts.html 

私はChromeから開いたとき、私は唯一の先進押した後のページにアクセスすることができますし、ページに進んでください。

これは、証明書を生成するときに私がいっぱいです:

Country Name (2 letter code) [AU]:ID 
State or Province Name (full name) [Some-State]:East Java 
Locality Name (eg, city) []:[my city name] 
Organization Name (eg, company) [Internet Widgits Pty Ltd]:[some string] 
Organizational Unit Name (eg, section) []:[some string] 
Common Name (e.g. server FQDN or YOUR name) []:[IP address of the server (Azure server) without port and 'https://'] 
Email Address []:[my personal yahoo email] 
Please enter the following 'extra' attributes 
to be sent with your certificate request 
A challenge password []:[empty] 
An optional company name []:[empty] 

アプリはAzureのサーバーでホストされています。

どうすれば修正できますか?

+0

証明書は有効ですか?万一これは自己署名証明書ですか? –

答えて

1

検証に失敗した自己署名証明書を使用しています。検証エラーを削除するには、署名付き証明書を取得する必要があります。

関連する問題