I have a client that has asked us to get a digital signature certificate and
start digitally signing all files we pass between each other. I have heard
of the subject and know about the certs but I have no idea how to do
something like this with VB.Net. Has anyone done something like this or
know where I can find out information how to perform the process of signing
a document when sending it then checking one on receipt?
Your help is greatly appreciated.
Thanks,
Matt 6 11410
Hi Matt,
Here is link, you may have a check.
Cryptography in Microsoft.NET Part III: Digital Certificates http://www.c-sharpcorner.com/Code/20...talCertIII.asp
Here is a sample about Signature inVB.NET. http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemsecuritycryptographyrsapkcs1signaturede formatterclassverifysignat
uretopic.asp
If you have any related question, please feel free to let me know.
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
-------------------- From: "Matt Frame" <md*****@sorvive.com> Subject: Programmatically Working with Digital Signatures Date: Thu, 9 Oct 2003 16:00:39 -0400 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <Ox**************@TK2MSFTNGP09.phx.gbl> Newsgroups: microsoft.public.dotnet.languages.vb NNTP-Posting-Host: c-24-125-30-57.va.client2.attbi.com 24.125.30.57 Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:145496 X-Tomcat-NG: microsoft.public.dotnet.languages.vb
I have a client that has asked us to get a digital signature certificate
andstart digitally signing all files we pass between each other. I have
heardof the subject and know about the certs but I have no idea how to do something like this with VB.Net. Has anyone done something like this or know where I can find out information how to perform the process of signing a document when sending it then checking one on receipt?
Your help is greatly appreciated.
Thanks,
Matt
Peter,
Thanks so much for the links, they look like they will get me going. The
customer has now also requested I perform secure channel communications as
well with them. I am using the HttpWebRequest object to perform a POST to
them but again this security thing is unfamiliar ground. What would I look
for to use a certificate to perform secure channel communications to POST
and validate a POST from the client?
I really appreciate your help.
Thanks,
Matt
"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
news:sz**************@cpmsftngxa06.phx.gbl... Hi Matt,
Here is link, you may have a check. Cryptography in Microsoft.NET Part III: Digital Certificates http://www.c-sharpcorner.com/Code/20...talCertIII.asp
Here is a sample about Signature inVB.NET. http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemsecuritycryptographyrsapkcs1signaturede formatterclassverifysignat uretopic.asp
If you have any related question, please feel free to let me know.
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights.
--------------------From: "Matt Frame" <md*****@sorvive.com> Subject: Programmatically Working with Digital Signatures Date: Thu, 9 Oct 2003 16:00:39 -0400 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <Ox**************@TK2MSFTNGP09.phx.gbl> Newsgroups: microsoft.public.dotnet.languages.vb NNTP-Posting-Host: c-24-125-30-57.va.client2.attbi.com 24.125.30.57 Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:145496 X-Tomcat-NG: microsoft.public.dotnet.languages.vb
I have a client that has asked us to get a digital signature certificate andstart digitally signing all files we pass between each other. I have heardof the subject and know about the certs but I have no idea how to do something like this with VB.Net. Has anyone done something like this or know where I can find out information how to perform the process of
signinga document when sending it then checking one on receipt?
Your help is greatly appreciated.
Thanks,
Matt
Hi Matt,
To implement the SSL, I think you may try to configure the IIS to use the
SSL. Here are some KB links.
324069 HOW TO: Set Up an HTTPS Service in IIS http://support.microsoft.com/?id=324069
315588 HOW TO: Secure an ASP.NET Application Using Client-Side Certificates http://support.microsoft.com/?id=315588
816794 HOW TO: Install Imported Certificates on a Web Server in Windows
Server http://support.microsoft.com/?id=816794
299875 HOW TO: Implement SSL on a Windows 2000 IIS 5.0 Computer http://support.microsoft.com/?id=299875
313071 HOW TO: Configure Certificate Trust Lists in Internet Information http://support.microsoft.com/?id=313071
Here is a sample about how to post data to a SSL enabled web site.
303436 SAMPLE: Visual C# .NET Networking Classes HTTP Internet Client http://support.microsoft.com/?id=303436
Did I misunderstand your meaning?
If you have any related question, please feel free to let me know.
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
-------------------- From: "Matt Frame" <md*****@sorvive.com> References: <Ox**************@TK2MSFTNGP09.phx.gbl>
<sz**************@cpmsftngxa06.phx.gbl>Subject: Re: Programmatically Working with Digital Signatures Date: Fri, 10 Oct 2003 12:05:11 -0400 Lines: 76 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <u3**************@tk2msftngp13.phx.gbl> Newsgroups: microsoft.public.dotnet.languages.vb NNTP-Posting-Host: c-24-125-30-57.va.client2.attbi.com 24.125.30.57 Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:145728 X-Tomcat-NG: microsoft.public.dotnet.languages.vb
Peter,
Thanks so much for the links, they look like they will get me going. The customer has now also requested I perform secure channel communications as well with them. I am using the HttpWebRequest object to perform a POST to them but again this security thing is unfamiliar ground. What would I
lookfor to use a certificate to perform secure channel communications to POST and validate a POST from the client?
I really appreciate your help.
Thanks,
Matt
"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message news:sz**************@cpmsftngxa06.phx.gbl... Hi Matt,
Here is link, you may have a check. Cryptography in Microsoft.NET Part III: Digital Certificates http://www.c-sharpcorner.com/Code/20...talCertIII.asp
Here is a sample about Signature inVB.NET. http://msdn.microsoft.com/library/de...-us/cpref/html
/ frlrfsystemsecuritycryptographyrsapkcs1signatured eformatterclassverifysigna
t uretopic.asp
If you have any related question, please feel free to let me know.
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and confers no
rights. -------------------- >From: "Matt Frame" <md*****@sorvive.com> >Subject: Programmatically Working with Digital Signatures >Date: Thu, 9 Oct 2003 16:00:39 -0400 >Lines: 14 >X-Priority: 3 >X-MSMail-Priority: Normal >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 >Message-ID: <Ox**************@TK2MSFTNGP09.phx.gbl> >Newsgroups: microsoft.public.dotnet.languages.vb >NNTP-Posting-Host: c-24-125-30-57.va.client2.attbi.com 24.125.30.57 >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:145496 >X-Tomcat-NG: microsoft.public.dotnet.languages.vb > >I have a client that has asked us to get a digital signature certificate and >start digitally signing all files we pass between each other. I have heard >of the subject and know about the certs but I have no idea how to do >something like this with VB.Net. Has anyone done something like this or >know where I can find out information how to perform the process of
signing >a document when sending it then checking one on receipt? > >Your help is greatly appreciated. > >Thanks, > >Matt > > >
Peter,
I am sure I didn't explain myself correctly.
I need to programmatically verify a client certificate when my customer
performs a POST to a listener I have developed.
When I post to the client I am using the X509Certificates object with the
HttpWebRequest object to set my certificate on the send. I believe I have
this working as my client says they received data but I have not confirmed
this with them as I was told by someone else after a conference call.
When I receive from them I am trying to use the HttpClientCertificate object
and setting it with Request.ClientCertificate but I have only received a
blank object so far. If I use a web browser with a client certificate
attached to the session I do receive that so I am wondering if these objects
are really available with what I am doing when I receive a POST. This is
the area that is causing the biggest headache at the moment so if you could
shed some light here I would really appreciate it.
If you need additional information about what I am trying to accomplish
please ask.
Thanks,
Matt
"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
news:vL*************@cpmsftngxa06.phx.gbl... Hi Matt,
To implement the SSL, I think you may try to configure the IIS to use the SSL. Here are some KB links. 324069 HOW TO: Set Up an HTTPS Service in IIS http://support.microsoft.com/?id=324069
315588 HOW TO: Secure an ASP.NET Application Using Client-Side
Certificates http://support.microsoft.com/?id=315588
816794 HOW TO: Install Imported Certificates on a Web Server in Windows Server http://support.microsoft.com/?id=816794
299875 HOW TO: Implement SSL on a Windows 2000 IIS 5.0 Computer http://support.microsoft.com/?id=299875
313071 HOW TO: Configure Certificate Trust Lists in Internet Information http://support.microsoft.com/?id=313071
Here is a sample about how to post data to a SSL enabled web site. 303436 SAMPLE: Visual C# .NET Networking Classes HTTP Internet Client http://support.microsoft.com/?id=303436
Did I misunderstand your meaning? If you have any related question, please feel free to let me know.
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights.
--------------------From: "Matt Frame" <md*****@sorvive.com> References: <Ox**************@TK2MSFTNGP09.phx.gbl> <sz**************@cpmsftngxa06.phx.gbl>Subject: Re: Programmatically Working with Digital Signatures Date: Fri, 10 Oct 2003 12:05:11 -0400 Lines: 76 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <u3**************@tk2msftngp13.phx.gbl> Newsgroups: microsoft.public.dotnet.languages.vb NNTP-Posting-Host: c-24-125-30-57.va.client2.attbi.com 24.125.30.57 Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:145728 X-Tomcat-NG: microsoft.public.dotnet.languages.vb
Peter,
Thanks so much for the links, they look like they will get me going.
Thecustomer has now also requested I perform secure channel communications
aswell with them. I am using the HttpWebRequest object to perform a POST
tothem but again this security thing is unfamiliar ground. What would I lookfor to use a certificate to perform secure channel communications to POST and validate a POST from the client?
I really appreciate your help.
Thanks,
Matt
"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message news:sz**************@cpmsftngxa06.phx.gbl... Hi Matt,
Here is link, you may have a check. Cryptography in Microsoft.NET Part III: Digital Certificates http://www.c-sharpcorner.com/Code/20...talCertIII.asp
Here is a sample about Signature inVB.NET.
http://msdn.microsoft.com/library/de...-us/cpref/html / frlrfsystemsecuritycryptographyrsapkcs1signatured eformatterclassverifysigna t uretopic.asp
If you have any related question, please feel free to let me know.
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. -------------------- >From: "Matt Frame" <md*****@sorvive.com> >Subject: Programmatically Working with Digital Signatures >Date: Thu, 9 Oct 2003 16:00:39 -0400 >Lines: 14 >X-Priority: 3 >X-MSMail-Priority: Normal >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 >Message-ID: <Ox**************@TK2MSFTNGP09.phx.gbl> >Newsgroups: microsoft.public.dotnet.languages.vb >NNTP-Posting-Host: c-24-125-30-57.va.client2.attbi.com 24.125.30.57 >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:145496 >X-Tomcat-NG: microsoft.public.dotnet.languages.vb > >I have a client that has asked us to get a digital signature
certificate and >start digitally signing all files we pass between each other. I have heard >of the subject and know about the certs but I have no idea how to do >something like this with VB.Net. Has anyone done something like this
or >know where I can find out information how to perform the process of
signing >a document when sending it then checking one on receipt? > >Your help is greatly appreciated. > >Thanks, > >Matt > > >
Hi Matt,
Here is a free software about the Certificate.
Certificate Services Library
The Certificate Services library is an implementation of much of the
Windows Certificate API; some of its key features are:
support of all methods found in the X509Certificate class and the WSE
X509Certificate class.
loading and saving DER encoded certificates (optionally Base64 encoded),
PKCS#7 signed messages, serialized certificate stores, PEM files and
Private Information Exchange (PFX or PKCS#12) files.
loading Private Key (PVK) files
building a certificate chain from a given certificate and verifying that
chain
loading certificates from certificate stores.
encrypting and decrypting data with the public and private key of a
certificate
converting back and forth between the Mentalis.org Certificate class and
the Microsoft X509Certificate class.
You may download it via the link below http://www.mentalis.org/soft/projects/certificates/
Is that what you want?
If you have any related question,please feel free to let me know.
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
-------------------- From: "Matt Frame" <ma**@sorvive.com> References: <Ox**************@TK2MSFTNGP09.phx.gbl>
<sz**************@cpmsftngxa06.phx.gbl>
<u3**************@tk2msftngp13.phx.gbl>
<vL*************@cpmsftngxa06.phx.gbl>Subject: Re: Programmatically Working with Digital Signatures Date: Mon, 13 Oct 2003 14:48:46 -0400 Lines: 173 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <uB**************@TK2MSFTNGP10.phx.gbl> Newsgroups: microsoft.public.dotnet.languages.vb NNTP-Posting-Host: c-24-125-30-57.va.client2.attbi.com 24.125.30.57 Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:146360 X-Tomcat-NG: microsoft.public.dotnet.languages.vb
Peter,
I am sure I didn't explain myself correctly.
I need to programmatically verify a client certificate when my customer performs a POST to a listener I have developed.
When I post to the client I am using the X509Certificates object with the HttpWebRequest object to set my certificate on the send. I believe I have this working as my client says they received data but I have not confirmed this with them as I was told by someone else after a conference call.
When I receive from them I am trying to use the HttpClientCertificate
objectand setting it with Request.ClientCertificate but I have only received a blank object so far. If I use a web browser with a client certificate attached to the session I do receive that so I am wondering if these
objectsare really available with what I am doing when I receive a POST. This is the area that is causing the biggest headache at the moment so if you could shed some light here I would really appreciate it.
If you need additional information about what I am trying to accomplish please ask.
Thanks,
Matt
"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message news:vL*************@cpmsftngxa06.phx.gbl... Hi Matt,
To implement the SSL, I think you may try to configure the IIS to use the SSL. Here are some KB links. 324069 HOW TO: Set Up an HTTPS Service in IIS http://support.microsoft.com/?id=324069
315588 HOW TO: Secure an ASP.NET Application Using Client-Side Certificates http://support.microsoft.com/?id=315588
816794 HOW TO: Install Imported Certificates on a Web Server in Windows Server http://support.microsoft.com/?id=816794
299875 HOW TO: Implement SSL on a Windows 2000 IIS 5.0 Computer http://support.microsoft.com/?id=299875
313071 HOW TO: Configure Certificate Trust Lists in Internet Information http://support.microsoft.com/?id=313071
Here is a sample about how to post data to a SSL enabled web site. 303436 SAMPLE: Visual C# .NET Networking Classes HTTP Internet Client http://support.microsoft.com/?id=303436
Did I misunderstand your meaning? If you have any related question, please feel free to let me know.
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and confers no
rights. -------------------- >From: "Matt Frame" <md*****@sorvive.com> >References: <Ox**************@TK2MSFTNGP09.phx.gbl> <sz**************@cpmsftngxa06.phx.gbl> >Subject: Re: Programmatically Working with Digital Signatures >Date: Fri, 10 Oct 2003 12:05:11 -0400 >Lines: 76 >X-Priority: 3 >X-MSMail-Priority: Normal >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 >Message-ID: <u3**************@tk2msftngp13.phx.gbl> >Newsgroups: microsoft.public.dotnet.languages.vb >NNTP-Posting-Host: c-24-125-30-57.va.client2.attbi.com 24.125.30.57 >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:145728 >X-Tomcat-NG: microsoft.public.dotnet.languages.vb > >Peter, > >Thanks so much for the links, they look like they will get me going.The >customer has now also requested I perform secure channel communicationsas >well with them. I am using the HttpWebRequest object to perform a POSTto >them but again this security thing is unfamiliar ground. What would I look >for to use a certificate to perform secure channel communications to
POST >and validate a POST from the client? > >I really appreciate your help. > >Thanks, > >Matt > > >"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message >news:sz**************@cpmsftngxa06.phx.gbl... >> Hi Matt, >> >> Here is link, you may have a check. >> Cryptography in Microsoft.NET Part III: Digital Certificates >> http://www.c-sharpcorner.com/Code/20...talCertIII.asp >> >> Here is a sample about Signature inVB.NET. >>
http://msdn.microsoft.com/library/de...n-us/cpref/htm
l / >>
frlrfsystemsecuritycryptographyrsapkcs1signature deformatterclassverifysign
a t >> uretopic.asp >> >> If you have any related question, please feel free to let me know. >> >> Regards, >> Peter Huang >> Microsoft Online Partner Support >> Get Secure! www.microsoft.com/security >> This posting is provided "as is" with no warranties and confers no rights. >> >> -------------------- >> >From: "Matt Frame" <md*****@sorvive.com> >> >Subject: Programmatically Working with Digital Signatures >> >Date: Thu, 9 Oct 2003 16:00:39 -0400 >> >Lines: 14 >> >X-Priority: 3 >> >X-MSMail-Priority: Normal >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 >> >Message-ID: <Ox**************@TK2MSFTNGP09.phx.gbl> >> >Newsgroups: microsoft.public.dotnet.languages.vb >> >NNTP-Posting-Host: c-24-125-30-57.va.client2.attbi.com 24.125.30.57 >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl >> >Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.vb:145496 >> >X-Tomcat-NG: microsoft.public.dotnet.languages.vb >> > >> >I have a client that has asked us to get a digital signature
certificate >> and >> >start digitally signing all files we pass between each other. I
have >> heard >> >of the subject and know about the certs but I have no idea how to do >> >something like this with VB.Net. Has anyone done something like thisor >> >know where I can find out information how to perform the process of >signing >> >a document when sending it then checking one on receipt? >> > >> >Your help is greatly appreciated. >> > >> >Thanks, >> > >> >Matt >> > >> > >> > >> > > >
Pete,
Thanks for the library I am sure it will come to some use once I have time
to look through it. It kind of doesn't help in my current situation though
as I already have a system running and I just need to add the client
validation. I posted additional information about what I am trying to do in
the microsoft.public.dotnet.security group in hopes someone can come up with
a solution. I felt that group was more appropriate for what I am trying to
accomplish. I really appreciate your help in this and if you get a minute I
would like for you to look at the posting in the other group so maybe it can
give you a better feel for what my situation is.
Again thanks for all your help.
Matt
"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message
news:gk**************@cpmsftngxa06.phx.gbl... Hi Matt,
Here is a free software about the Certificate. Certificate Services Library The Certificate Services library is an implementation of much of the Windows Certificate API; some of its key features are: support of all methods found in the X509Certificate class and the WSE X509Certificate class. loading and saving DER encoded certificates (optionally Base64 encoded), PKCS#7 signed messages, serialized certificate stores, PEM files and Private Information Exchange (PFX or PKCS#12) files. loading Private Key (PVK) files building a certificate chain from a given certificate and verifying that chain loading certificates from certificate stores. encrypting and decrypting data with the public and private key of a certificate converting back and forth between the Mentalis.org Certificate class and the Microsoft X509Certificate class.
You may download it via the link below http://www.mentalis.org/soft/projects/certificates/
Is that what you want? If you have any related question,please feel free to let me know.
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights.
--------------------From: "Matt Frame" <ma**@sorvive.com> References: <Ox**************@TK2MSFTNGP09.phx.gbl> <sz**************@cpmsftngxa06.phx.gbl> <u3**************@tk2msftngp13.phx.gbl> <vL*************@cpmsftngxa06.phx.gbl>Subject: Re: Programmatically Working with Digital Signatures Date: Mon, 13 Oct 2003 14:48:46 -0400 Lines: 173 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <uB**************@TK2MSFTNGP10.phx.gbl> Newsgroups: microsoft.public.dotnet.languages.vb NNTP-Posting-Host: c-24-125-30-57.va.client2.attbi.com 24.125.30.57 Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:146360 X-Tomcat-NG: microsoft.public.dotnet.languages.vb
Peter,
I am sure I didn't explain myself correctly.
I need to programmatically verify a client certificate when my customer performs a POST to a listener I have developed.
When I post to the client I am using the X509Certificates object with the HttpWebRequest object to set my certificate on the send. I believe I
havethis working as my client says they received data but I have not
confirmedthis with them as I was told by someone else after a conference call.
When I receive from them I am trying to use the HttpClientCertificate objectand setting it with Request.ClientCertificate but I have only received a blank object so far. If I use a web browser with a client certificate attached to the session I do receive that so I am wondering if these objectsare really available with what I am doing when I receive a POST. This is the area that is causing the biggest headache at the moment so if you
couldshed some light here I would really appreciate it.
If you need additional information about what I am trying to accomplish please ask.
Thanks,
Matt
"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message news:vL*************@cpmsftngxa06.phx.gbl... Hi Matt,
To implement the SSL, I think you may try to configure the IIS to use
the SSL. Here are some KB links. 324069 HOW TO: Set Up an HTTPS Service in IIS http://support.microsoft.com/?id=324069
315588 HOW TO: Secure an ASP.NET Application Using Client-Side Certificates http://support.microsoft.com/?id=315588
816794 HOW TO: Install Imported Certificates on a Web Server in Windows Server http://support.microsoft.com/?id=816794
299875 HOW TO: Implement SSL on a Windows 2000 IIS 5.0 Computer http://support.microsoft.com/?id=299875
313071 HOW TO: Configure Certificate Trust Lists in Internet
Information http://support.microsoft.com/?id=313071
Here is a sample about how to post data to a SSL enabled web site. 303436 SAMPLE: Visual C# .NET Networking Classes HTTP Internet Client http://support.microsoft.com/?id=303436
Did I misunderstand your meaning? If you have any related question, please feel free to let me know.
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. -------------------- >From: "Matt Frame" <md*****@sorvive.com> >References: <Ox**************@TK2MSFTNGP09.phx.gbl> <sz**************@cpmsftngxa06.phx.gbl> >Subject: Re: Programmatically Working with Digital Signatures >Date: Fri, 10 Oct 2003 12:05:11 -0400 >Lines: 76 >X-Priority: 3 >X-MSMail-Priority: Normal >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 >Message-ID: <u3**************@tk2msftngp13.phx.gbl> >Newsgroups: microsoft.public.dotnet.languages.vb >NNTP-Posting-Host: c-24-125-30-57.va.client2.attbi.com 24.125.30.57 >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:145728 >X-Tomcat-NG: microsoft.public.dotnet.languages.vb > >Peter, > >Thanks so much for the links, they look like they will get me going. The >customer has now also requested I perform secure channel
communicationsas >well with them. I am using the HttpWebRequest object to perform a
POSTto >them but again this security thing is unfamiliar ground. What would
I look >for to use a certificate to perform secure channel communications to
POST >and validate a POST from the client? > >I really appreciate your help. > >Thanks, > >Matt > > >"Peter Huang [MSFT]" <v-******@online.microsoft.com> wrote in message >news:sz**************@cpmsftngxa06.phx.gbl... >> Hi Matt, >> >> Here is link, you may have a check. >> Cryptography in Microsoft.NET Part III: Digital Certificates >> http://www.c-sharpcorner.com/Code/20...talCertIII.asp >> >> Here is a sample about Signature inVB.NET. >>
http://msdn.microsoft.com/library/de...n-us/cpref/htm l / >>
frlrfsystemsecuritycryptographyrsapkcs1signature deformatterclassverifysign a t >> uretopic.asp >> >> If you have any related question, please feel free to let me know. >> >> Regards, >> Peter Huang >> Microsoft Online Partner Support >> Get Secure! www.microsoft.com/security >> This posting is provided "as is" with no warranties and confers no rights. >> >> -------------------- >> >From: "Matt Frame" <md*****@sorvive.com> >> >Subject: Programmatically Working with Digital Signatures >> >Date: Thu, 9 Oct 2003 16:00:39 -0400 >> >Lines: 14 >> >X-Priority: 3 >> >X-MSMail-Priority: Normal >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 >> >Message-ID: <Ox**************@TK2MSFTNGP09.phx.gbl> >> >Newsgroups: microsoft.public.dotnet.languages.vb >> >NNTP-Posting-Host: c-24-125-30-57.va.client2.attbi.com 24.125.30.57 >> >Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl >> >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:145496 >> >X-Tomcat-NG: microsoft.public.dotnet.languages.vb >> > >> >I have a client that has asked us to get a digital signature certificate >> and >> >start digitally signing all files we pass between each other. I have >> heard >> >of the subject and know about the certs but I have no idea how to
do >> >something like this with VB.Net. Has anyone done something like
thisor >> >know where I can find out information how to perform the process of >signing >> >a document when sending it then checking one on receipt? >> > >> >Your help is greatly appreciated. >> > >> >Thanks, >> > >> >Matt >> > >> > >> > >> > > > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: John Campbell |
last post by:
Hi everyone
I've been doing my best to understand the specifics of implimentating XML Digital Signatures, but I seem to be missing a fundamental concept.
Let me start with a description of the...
|
by: Bradley Ward |
last post by:
I have been searching and searching online for code examples of using both
..net framework and also WSE 2.0 classes to digitally sign a SOAP document and
then verify the document.
I got a few...
|
by: dixie |
last post by:
My application developed in A2k has recently been run on an Access 2003
system and when it starts up there is a message that suggests that the
macros need digital signatures.
How do I create...
|
by: Jose |
last post by:
I`m looking for resources about digital signatures using .NET, (books,
articles etc).
Tanks
|
by: karflips33 |
last post by:
Is it possible to automate the signing of Word 2003 docs with
Digital Signatures?
My problem with the code approach using
ActiveDocument.Signatures.Add
|
by: simon |
last post by:
I created an access database and digitally signed it.
I then gave a copy of this Database to a friend.
A few months later he wanted me to make some changes to it so i took an
up-to-date copy from...
|
by: Mitchell Vincent |
last post by:
I've recently started signing all EXEs that come out of here. I would
like to verify the signature at startup to detect any changes to the EXE
itself. Is something like that possible?
I'm using...
|
by: ckpoll2 |
last post by:
Hi,
I have a rookie question for you. I have a database where people create a form that has to be signed. Rather than print off a hard copy, I'd like the spot for the signature to have a digital...
|
by: rene.rugerio |
last post by:
Hello all
Im developing an application to deal with mime messages that are
signed, so it is more like a multipart message composed by the original
message and then the calculated digital...
|
by: erikbower65 |
last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps:
1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal.
2. Connect to...
|
by: erikbower65 |
last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA:
1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
|
by: Taofi |
last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same
This are my field names
ID, Budgeted, Actual, Status and Differences
...
|
by: DJRhino1175 |
last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this -
If...
|
by: DJRhino |
last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer)
If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _
310030356 Or 310030359 Or 310030362 Or...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: lllomh |
last post by:
How does React native implement an English player?
|
by: Mushico |
last post by:
How to calculate date of retirement from date of birth
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
| |