.pfx ファイルとして持っている X.509 証明書を必要とする HTTPS/TLS TCP サイトにアクセスするためのスクリプトを作成しています。
私は SOAPpy 0.12.5 と Python 2.7 を使用しており、以下のコードから始めました。
import SOAPpy
url = "192.168.0.1:5001"
server = SOAPpy.SOAPProxy(url)
# I think I need to pass the cert to server here...
server.callSoapRPC(xxxx)
これを実行しようとすると、次のメッセージで失敗します
socket.error: [Errno 10061] No connection could be made because the target machine actively refused it
.pfx 証明書を SOAPproxy に関連付ける方法はありますか?
ありがとう