Re: Socket with ssl support

From: Alun Jones [MSFT] (alunj_at_online.microsoft.com)
Date: 01/25/05

  • Next message: Walt: "Re: Access is denied error 5"
    Date: Tue, 25 Jan 2005 08:21:43 -0800
    
    

    Perhaps the following pages will help you achieve FIPS-compliant TLS(*)
    communications:

    http://support.microsoft.com/?id=811833 - "The effects of enabling the
    "System cryptography: Use FIPS compliant algorithms for encryption, hashing,
    and signing" security setting in Windows XP and later versions"
    http://support.microsoft.com/?id=811834 - "PRB: Cannot visit SSL sites after
    you enable FIPS compliant cryptography"

    The TLS_RSA_WITH_3DES_EDE_CBC_SHA cipher suite is FIPS compliant, and is
    supported in Windows 2003 and Windows XP - the above setting will allow you
    to require that this is the only allowed cipher suite.

    Alun.
    ~~~~

    -- 
    Software Design Engineer, Internet Information Server (FTP)
    This posting is provided "AS IS" with no warranties, and confers no rights.
    "Inting" <tingardz@yahoo.com> wrote in message 
    news:%239Ce2ynAFHA.2104@TK2MSFTNGP14.phx.gbl...
    > Hi Alun,
    >
    > Is there any way to use AES encryption? The connection will default to 
    > RC4/MD5. I can only change MD5 to SHA1.
    > But i can never change RC4 to AES.
    >
    > RC4-MD5 ssl connection won't work in a secure domain with only FIPS 
    > compliant encryption enabled.
    > RC4 and MD5 are not FIPS compliant, only AES and SHA1.
    >
    > thanks.
    >
    > Inting
    >
    >
    > "Alun Jones [MSFT]" <alunj@online.microsoft.com> wrote in message 
    > news:u0fNMjk$EHA.3428@TK2MSFTNGP10.phx.gbl...
    >> "George" <george.news@NOSPAMgmx.net> wrote in message 
    >> news:Xns95E36417DEC66newsgmxnet@213.0.184.81...
    >>> Is it possible to open a socket and establish an ssl connection for
    >>> encripting the communication? The socket is a normal TCP socket and I'm
    >>> sending customized data (not HTTP or any other protocol).
    >>>
    >>> I've read that there is something called SSPI for doing that kind of 
    >>> stuff,
    >>> but I prefer to do it using ssl.
    >>
    >> SSL is the protocol for the Secure Sockets Layer- the specification for 
    >> the format of bits on the wire that carry encrypted and authenticated 
    >> traffic.
    >>
    >> SSPI is the programming interface - the Security Support Provider 
    >> Interface - that is used to control a number of different SSPs - Security 
    >> Support Providers.
    >>
    >> SChannel is the SSP that provides SSL operations - encryption and 
    >> decryption, etc.
    >>
    >> You will need functions from the SSPI including 
    >> InitializeSecurityContext, AcceptSecurityContext, EncryptMessage, 
    >> DecryptMessage, etc - start reading at 
    >> http://msdn.microsoft.com/library/en-us/secauthn/security/creating_a_secure_connection_using_schannel.asp, 
    >> and look at the sample in the Platform SDK under "Microsoft 
    >> SDK\Samples\security\SSPI\SSL" - WebClient and WebServer.
    >>
    >> Although they are, as they say, a very simple web client and web server, 
    >> they show you exactly how to fetch a certificate, make or accept an SSL 
    >> connection, authenticate, encrypt and decrypt, handle errors, and close.
    >>
    >> You could also, as another poster has suggested, use OpenSSL.  I found 
    >> the documentation of SChannel to be clearer, and the support to be 
    >> better - and that was before I joined Microsoft.
    >>
    >> Alun.
    >> ~~~~
    >> -- 
    >> Software Design Engineer, Internet Information Server (FTP)
    >> This posting is provided "AS IS" with no warranties, and confers no 
    >> rights.
    >>
    >
    > 
    

  • Next message: Walt: "Re: Access is denied error 5"

    Relevant Pages

    • RE: Windows Server 2003 - Not secure from my test but OSX from Mac is secure from the start
      ... When enabled in mode 3 you can store the system encryption key ... Sadly most Windows admins are not fully aware of all the security tools ... Worms & Port Scans ...
      (Security-Basics)
    • Re: SSL Overhead?
      ... encryption - this is useless if there is a backdoor wide open. ... mention the fact that SSL has security issues as well. ... SSL systems. ... Try using regular TCP to send the data. ...
      (microsoft.public.dotnet.framework.compactframework)
    • Re: ways of defeating these security measures?
      ... > Your security measures will prevent casual abuses, ... but they cant be accessed from within windows. ... >> Booting into DOS might bypass all windows security apps, so encryption ... Put the PC inside it and lock with the best lock you can find. ...
      (comp.security.misc)
    • Re: SSL Overhead?
      ... Encryption itself isn't the sole culprit of data expansion. ... behind data expansion is the web service - and not SSL. ... I don't see how your comment on security has any credence. ...
      (microsoft.public.dotnet.framework.compactframework)
    • Re: Secure web authentication system w/o SSL and PKI
      ... Authentication has nothing to do with SSL. ... Why do you want symmetric encryption? ...
      (comp.security.misc)