I couldn't figure way to have my SSLclient retrieve
information from IIS 5.0 using
128-bit encryption.
The following is the core part of HTTPS client code:
RAND_seed(rnd_seed, sizeof(rnd_seed));
SSLeay_add_ssl_algorithms();
meth = SSLv23_client_method();
SSL_load_error_strings();
ctx = SSL_CTX_new (meth);
ssl = SSL_new (ctx);
SSL_set_fd (ssl, socket);
state = SSL_connect (ssl);
server_cert = SSL_get_peer_certificate (ssl);
X509_free (server_cert);
sprintf(headerBuffer, "GET /index.html
HTTP/1.0\nHost: 172.22.33.119\n\n");
SSL_write (ssl, headerBuffer,
strlen(headerBuffer));
do {
state = SSL_read (ssl, buffer, 1024);
printf("%s\n", buffer);
} while (state > 0);
However, IIS returns the following 403.5 error
message:
"...
The page must be viewed with a high-security Web
browser The page you are
trying to view requires the use of a Web browser
configured for 128-bit
encryption.
HTTP 403.5 - Forbidden:
SSL 128 required Internet Information Services
..."
Is there a way to deal with IIS(w/ 128-bit encryption)
in OPENSSL?
Thanks in advance for your help
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]