Jump to content

mv2023

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. So for now ICS is a closed road in this direction. Thanks Angus, A happy new year.
  2. Hello, I have an application that needs to communicate with a server that asks for a digital certificate that is on a USB Token. I solved the communication with that server with MSXML2.ServerXMLHTTP.6.0. However, I would have liked to use your TsslHttpRest component. For this I tried the OverbyteIcsHttpRestTst64 example. I was not successful; the application displays 'SSL Client Certificate Requested by Server, But None to Send, Request May Fail'. The USB token requires a password. With MSXML2.ServerXMLHTTP, the password dialog appears automatically at first use after the Token is inserted into the USB port. The password can also be entered manually before the first use and I tried this with OverbyteIcsHttpRestTst64 but the result is the same. I also tried setting 'MsCertTools.MsKeyProvider := MS_SMART_CARD_KEY_STORAGE_PROVIDER' but it has no effect. The instruction 'Errs := MsCertTools.LoadOneFromStore(MsCertLoc, SslClientCertFile.Text, True)' returns 'Can not find certificate and private key in Windows Store: XXXXXX' If the Pkey parameter is false, the result is '' but MsCertTools.Comments is 'Private key in User Store, Could not export private key - The parameter is incorrect (#-2146893785)'. I also tried with version 8.7 and with 9.1 daily build from 27.12.2023 and the result is the same By the way, I think OverbyteIcsMsSslUtils line 1146 should be if (Pos(Search, MyName) = 1) or (Pos(WildSearch, MyName) = 1) then What am I doing wrong? Thank you.
×