I am trying to implement secure communication between a server and client in c++. The limitation is that both the client and server must run on windows and have to be in c++. This is for a research project I am working on at my university.
So far I…
I have problem sending SChannel TLS message larger than the negotiated maximum length.
When "EncryptSend" is called with a buffer larger than SecPkgContext_StreamSizes.cbMaximumMessage, the part greater than…
I'm using the method AcceptSecurityContext (https://msdn.microsoft.com/en-us/library/windows/desktop/aa374708(v=vs.85).aspx) to establish a secure connection, but this seems to trigger (two) audit failure events in the Windows event log. The events…
I am trying to generate digital signature using "Microsoft RSA SChannel Cryptographic Provider". After acquiring the handle to container, I am generating a signature using CryptGenKey(). But this function returns FALSE.
The dwError for…
I'm trying to use Schannel SSPI to send/receive data over SSL connection, using sockets.
I have some questions on DecryptMessage()
1) MSDN says that sometimes the application will receive data from the remote party, then successfully decrypt it…
I have been struggling to get a secure RPC client/server using Microsoft RPC. I am not using COM, just straight C.
I have created a Root CA certificate and created a certificate signed by this cert for the server. The certs are installed into cert…
So i have following code:
SecBuffer input_buffers[2];
SecBuffer output_buffers[2];
ULONG context_attributes;
/* we need to try and perform the second (next) step of the init */
input_buffers[0].cbBuffer =…
I need to know if many people are on my site with a browser using RC4. The main culprits being IE6,7,8 on XP.
Apparently by enabling SChannel logging I can do this and then read the results in the event log.
To test I have enabled SChannel Logging…
I'm looking into disabling certain ciphers and I'm trying to wrap my head around how the block ciphers are named in Windows. Specifically what the numbers follow the name mean. For example, RC4 40/128, DES 56/56, AES 128/128 or AES 256/256. I…
I'm trying to establish a secure socket connection between a Java client applet (built with JDK 1.7.0_75-b13) and a VC++ server application.
As a test vehicle, I used a VC++ client/server sample I found in the MSDN forums, modified it to use…
I am trying to make a web service call with a client certificate
I get an error could not establish secure SSL/TLS channel
I have checked the client certificate credentials, permissions. All are fine.
In the log for schannel I see this
first…
After successfully Creating a Secure Connection Using Schannel, I am obtaining its connection attributes using QueryContextAttributes(), passing SECPKG_ATTR_CONNECTION_INFO.
The returned structure SecPkgContext_ConnectionInfo contains the field…
I'd like to use SChannel or some other Microsoft API to support TLS for my TCP/IP application. Ideally what I'd like to do is use SChannel to create a kind of TLS tunnel within my app so I can pass off a SOCKET handle to another library. Is this…
I have a Point of Sale System developed by a local developer and I keep getting this error. The error results when I am using the program and hit the next button to display the next list of items in the menu. The program just crashes and closes when…