11-29-2018, 04:12 PM
Hi Alexandre,
For the development i have created my own self signed certificate chain, including the root certificate. But i don't think, that the problem is related to my certificates, since the error arises also, if i use the ATOZED example certificates.
During the development i want to use the indy server.
The OpenSSL libraries are from Frederik A. Winkelsdorf ( v1.0.2o, Mar 27, 2018)
libeay32.dll
ssleay32.dll
This is the call stack:
:00007ffb93f0a388
:000000000078ac66 ; System::_RaiseAtExcept(System::TObject*, void*)
:000000000078ac91 ; System::_RaiseExcept(System::TObject*)
:00000000009b61e9 ; Insslopensslheaders::EIdOpenSSLAPICryptoError::RaiseExceptionCode(unsigned int, System::UnicodeString)
:00000000009b607f ; Insslopensslheaders::EIdOpenSSLAPICryptoError::RaiseException(System::UnicodeString)
:00000000009c7349 ; Insslopenssl::TInSSLContext::InitContext(Insslopenssl::TInSSLCtxMode)
:00000000009c5588 ; Insslopenssl::TInServerIOHandlerSSLOpenSSL::Init()
:00000000008c5d7f ; Incustomtcpserver::TInCustomTCPServer::Startup()
:00000000008d1230 ; Incustomhttpserver::TInCustomHTTPServer::Startup()
:00000000008c52fc ; Incustomtcpserver::TInCustomTCPServer::SetActive(bool)
:00000000009cdd17 ; Iw::Server::Httpindy::THTTPServerIndy::SetHTTPS()
:00000000009cb22d ; Iw::Server::Httpindy::THTTPServerIndy::InitHTTPS()
:00000000009cf2dd ; Iw::Server::Indy::TSaServerIndy::Start()
:0000000000996a36 ; Iwstandaloneserver::TIWStandAloneServer::Start(System::Classes::TComponentClass)
:0000000000a3cfa4 ; Iwmain::TFormIWMain::Start(System::Classes::TComponentClass)
:0000000000a3e4ae ; Iwstart::TIWStart:
oShowUI()
:0000000000a3e1d9 ; Iwstartbase::TIWStartBase::Run()
:0000000000a3e061 ; Iwstartbase::TIWStartBase::Execute(bool)
:000000000040cb17 ; wWinMain
:00000000061C318C ; ???
:00000000322082F5 ; C:\Program Files (x86)\Embarcadero\Studio\19.0\bin64\CC64250MT.DLL
The problem only occurs, if i link with the 64 bit static libraries, all other configurations work well.
Best regards
Juergen
For the development i have created my own self signed certificate chain, including the root certificate. But i don't think, that the problem is related to my certificates, since the error arises also, if i use the ATOZED example certificates.
During the development i want to use the indy server.
The OpenSSL libraries are from Frederik A. Winkelsdorf ( v1.0.2o, Mar 27, 2018)
libeay32.dll
ssleay32.dll
This is the call stack:
:00007ffb93f0a388
:000000000078ac66 ; System::_RaiseAtExcept(System::TObject*, void*)
:000000000078ac91 ; System::_RaiseExcept(System::TObject*)
:00000000009b61e9 ; Insslopensslheaders::EIdOpenSSLAPICryptoError::RaiseExceptionCode(unsigned int, System::UnicodeString)
:00000000009b607f ; Insslopensslheaders::EIdOpenSSLAPICryptoError::RaiseException(System::UnicodeString)
:00000000009c7349 ; Insslopenssl::TInSSLContext::InitContext(Insslopenssl::TInSSLCtxMode)
:00000000009c5588 ; Insslopenssl::TInServerIOHandlerSSLOpenSSL::Init()
:00000000008c5d7f ; Incustomtcpserver::TInCustomTCPServer::Startup()
:00000000008d1230 ; Incustomhttpserver::TInCustomHTTPServer::Startup()
:00000000008c52fc ; Incustomtcpserver::TInCustomTCPServer::SetActive(bool)
:00000000009cdd17 ; Iw::Server::Httpindy::THTTPServerIndy::SetHTTPS()
:00000000009cb22d ; Iw::Server::Httpindy::THTTPServerIndy::InitHTTPS()
:00000000009cf2dd ; Iw::Server::Indy::TSaServerIndy::Start()
:0000000000996a36 ; Iwstandaloneserver::TIWStandAloneServer::Start(System::Classes::TComponentClass)
:0000000000a3cfa4 ; Iwmain::TFormIWMain::Start(System::Classes::TComponentClass)
:0000000000a3e4ae ; Iwstart::TIWStart:
oShowUI():0000000000a3e1d9 ; Iwstartbase::TIWStartBase::Run()
:0000000000a3e061 ; Iwstartbase::TIWStartBase::Execute(bool)
:000000000040cb17 ; wWinMain
:00000000061C318C ; ???
:00000000322082F5 ; C:\Program Files (x86)\Embarcadero\Studio\19.0\bin64\CC64250MT.DLL
The problem only occurs, if i link with the 64 bit static libraries, all other configurations work well.
Best regards
Juergen

