curl を使用して、公開証明書ファイルを使用して https サイトからデータをダウンロードしています。
システムインフォメーション:
- OS:フェドラ 14
- カール:カール 7.30.0
- openssl: OpenSSL 1.0.0a-fips
コマンドは、
curl -v "https://<ip:<port>" --cert "./cert.pem" --cacert "./cacert.pem" --cert-type PEM
* About to connect() to kng.com port 443 (#0)
* Trying 11.19.37.123...
* Adding handle: conn: 0x8189e68
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x8189e68) send_pipe: 1, recv_pipe: 0
* Connected to fkng.com (11.19.37.123) port 443 (#0)
* unable to set private key file: './cert.pem' type PEM
* Closing connection 0
curl: (58) unable to set private key file: './cert.pem' type PEM
ファイルにすべての許可を与えましたが.pem
、まだカールはエラーをスローしています。