mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
parent
8b7d59eb34
commit
c54de4b615
@ -137,7 +137,7 @@ boost::shared_ptr<X509> PkiUtility::FetchCert(const String& host, const String&
|
|||||||
return boost::shared_ptr<X509>();
|
return boost::shared_ptr<X509>();
|
||||||
}
|
}
|
||||||
|
|
||||||
TlsStream::Ptr stream = new TlsStream(client, String(), RoleClient, sslContext);
|
TlsStream::Ptr stream = new TlsStream(client, host, RoleClient, sslContext);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
stream->Handshake();
|
stream->Handshake();
|
||||||
@ -201,7 +201,7 @@ int PkiUtility::RequestCertificate(const String& host, const String& port, const
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
TlsStream::Ptr stream = new TlsStream(client, String(), RoleClient, sslContext);
|
TlsStream::Ptr stream = new TlsStream(client, host, RoleClient, sslContext);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
stream->Handshake();
|
stream->Handshake();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user