16,013,747 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 859721 (Top 2 by date)
Member 859721
7-Jun-13 5:50am
View
In Security.Mode in transport mode ,I created a service certificate ,imported to the store from .pfx file(containing the private key and public key). Then I exported from the the public key from it and created another certificate and added that in the store as client certificate. And I am getting the below error .Please help on this.
The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:09.9470000'.
I think I am not having clear concept of which certificate to use where. I have gone through many links but still I think its a bit unclear.
I think server should use a certificate which is having only the private key. And the client should use the certificate with the pairing public key. We can create public key by exporting the same in the store. If my thinking is correct then the question is how to create a certificate with only private key.
If I can get the overview(not in details) how this private and public key part used in server and client and how to create the respective certificates that will be very helpful.
Member 859721
3-Jun-13 0:57am
View
Well, the most of the above links are configuring certificates with IIS. But I want to configure with nettcp.
However I found that if the Security.Mode is changed to Transport in both client and server then the client certifiact needs to be configured in client otherwise in TransportWithMessageCredential mode the communication works without the client certificate.
Can anyone explain the reason for this?