SSLStream problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Steven Blair

    SSLStream problem

    Hi,

    Using the code example form this site:

    Gain technical skills through documentation and training, earn certifications and connect with the community

    px

    I have setup my Server and Client.

    My Client connects, and on the server side when the following line is
    executed:

    sslStream.Authe nticateAsServer (serverCertific ate);

    I get this error:

    The credentials supplied to the package were not recognized

    I used the program makecert to generate my certificate with th following
    arguments:

    makecert -n "CN=Test and Dev Root Authority" -ss my -sr LocalMachine -sk
    "Test.cer"

    If I check mmc, the certificate is there. I then export it to a file

    Can anyone help me out on this problem. I don't know too much about
    generating certificates, but I suspect this is where my problem rather
    than the code.

    Thanks in advance,

    Steven



    *** Sent via Developersdex http://www.developersdex.com ***
Working...