Hello..
In the good old days where I programmed using wininet.dll, I did'nt need to do anything to retrieve a sourcecode from a secureed site eg. HTTPS - port 443.
But in the new .NET it seems a lot more difficult, infact I dont seem to be able to solve a webrequest using SSL.
How do I manage a certificat in .NET
I cant understand why it's not built in just like the new cookiecontainer etc
Regard 4 2553
Bobstar,
It is. Have you checked out the ClientCertificates property on the
HttpWebRequest class? It should give you the functionality you need to
manage your own certificates (if you need to).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Bobstar" <an*******@discussions.microsoft.com> wrote in message
news:0D**********************************@microsof t.com... Hello...
In the good old days where I programmed using wininet.dll, I did'nt need
to do anything to retrieve a sourcecode from a secureed site eg. HTTPS -
port 443. But in the new .NET it seems a lot more difficult, infact I dont seem to
be able to solve a webrequest using SSL. How do I manage a certificat in .NET?
I cant understand why it's not built in just like the new cookiecontainer
etc. Regards
Bobstar,
It is. Have you checked out the ClientCertificates property on the
HttpWebRequest class? It should give you the functionality you need to
manage your own certificates (if you need to).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Bobstar" <an*******@discussions.microsoft.com> wrote in message
news:0D**********************************@microsof t.com... Hello...
In the good old days where I programmed using wininet.dll, I did'nt need
to do anything to retrieve a sourcecode from a secureed site eg. HTTPS -
port 443. But in the new .NET it seems a lot more difficult, infact I dont seem to
be able to solve a webrequest using SSL. How do I manage a certificat in .NET?
I cant understand why it's not built in just like the new cookiecontainer
etc. Regards
Bobstar,
If the protocol is HTTPS, then the port number is assumed to be 443 by
default (just like it is assumed to be port 80 by default for HTTP). If you
are using the standard assigned ports, then you don't need to specify them.
If you are not, then you must specify them.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Bobstar" <an*******@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com... Thank you... Just wondering (that's the way it's in wininet.dll), could the trouble be
caused by a wrong port number ?. Is it being set automatically in
WebRequest? - Or do I have to specify port 80/ 443 ?? Kind regards
Bobstar,
If the protocol is HTTPS, then the port number is assumed to be 443 by
default (just like it is assumed to be port 80 by default for HTTP). If you
are using the standard assigned ports, then you don't need to specify them.
If you are not, then you must specify them.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Bobstar" <an*******@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com... Thank you... Just wondering (that's the way it's in wininet.dll), could the trouble be
caused by a wrong port number ?. Is it being set automatically in
WebRequest? - Or do I have to specify port 80/ 443 ?? Kind regards This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Bobstar |
last post by:
Hello..
In the good old days where I programmed using wininet.dll, I did'nt need to do anything to retrieve a sourcecode from a secureed site eg. HTTPS - port 443.
But in the new .NET it seems...
|
by: Frank Schwarz |
last post by:
Hello,
we are implemting an application that uses a https
connection
for accessing a website. It is also possible to connect
via http.
With http every thing works fine. With https it is not...
|
by: Krishna |
last post by:
Well, I got it working when running against my test server (IIS5 W2K
svr, I will attach a sample of the code at the bottom of this
message), but now I'm connecting to our client (Apache) I'm...
|
by: Nelson R. |
last post by:
Hi,
i need to get some info from a website page that requires an
certificate.
Ive got the provided certificate installed in IE, and when accessing
the website page, it shows a window to...
|
by: deepak |
last post by:
We retrieve data from a company called XYZ through httpwebrequest.
The program is coded using VB.NET
They have given a certificate to install.
This certificate is included with the request object....
|
by: |
last post by:
Hi all,
HttpWebRequest, and SoapHttpClientProtocol both expose a
ClientCertificates property, which can hold multiple client certificates,
but on the service side, it can only receive one client...
|
by: vecozo |
last post by:
--
This request concerns the applicability of KB 831138:
FIX: A .NET Framework application that uses the System.Net.WebRequest method
very frequently experiences OutOfMemoryException errors
--
...
|
by: steveS |
last post by:
Hi all,
I'm having trouble connecting to a Java web service using HttpWebRequest. I
get the error message "The request was aborted: Could not create SSL/TLS
secure channel". The Java service...
|
by: nomad |
last post by:
Hi,
I am using HTTPWebRequest to add a client certificate. I am then
using HTTPWebRequest to POST xml to a web service which requires the
attached client certificate to authenticate with their...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |