473,769 Members | 2,100 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

programmaticall y install a https-certificate in ie

Hi,

My c#-prog shall call some https URLs at our webserver. It has a
self-signed certificate. I also use IE per COM-Control to call a website
at our server (also https).
How can I install the certificate programmaticall y through setup or in
the program itself in windows (or ie) to get rid of the security-warnings?
I wrote an own IServiceProvide r but the IE.Navigate Calls always show
the warnings to install the certificate.

Is there a API function for this?

thanks for your help!

kind regards,
Matthias Leonhardt
Nov 16 '05 #1
2 6111
I would really hope that there is *not* a function to do this
programmaticaly . Sites with a self signed certificate are the kind of
thing I'd want to have control over whether to accept or not.

We have a few https sites running here, and we allow them into the
trusted zone through Active Directory group policies. I'd look into
that if I were you.

On Mon, 14 Mar 2005 09:56:09 +0100, Matthias Leonhardt <ne**@mleo.ne t>
wrote:
Hi,

My c#-prog shall call some https URLs at our webserver. It has a
self-signed certificate. I also use IE per COM-Control to call a website
at our server (also https).
How can I install the certificate programmaticall y through setup or in
the program itself in windows (or ie) to get rid of the security-warnings?
I wrote an own IServiceProvide r but the IE.Navigate Calls always show
the warnings to install the certificate.

Is there a API function for this?

thanks for your help!

kind regards,
Matthias Leonhardt


Nov 16 '05 #2
Hi Marc,
We have a few https sites running here, and we allow them into the
trusted zone through Active Directory group policies. I'd look into
that if I were you.

I think there is no difference wether I install the certificate in the
AD or at the users computer during install process of the program. If
there is a man-in-the-middle attack or ipspoofing the certificate
doesn't match and my program or the ie brings out a warning. All I want
is that the user needn't to download the certificate from server (which
could be dangerous if the user doesn't review the certificate) and
install because I can ship the certificate with my programs setup.exe.
So I need to know how to install it during setup process...

thanks for your help!
kind regards,
Matthias
Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2728
by: Bob Swerdlow | last post by:
I'm having trouble getting Python 2.3.4 installed properly on Solaris 8. First some configuration stuff: bash-2.05# export . . . declare -x HOSTTYPE="sparc" declare -x MACHTYPE="sparc-sun-solaris2.8" declare -x OSTYPE="solaris2.8" I copied Python-2.3.4.tgz to /var/tmp, ran gunzip and tar xvf then
2
2890
by: Vince Keller | last post by:
I dont know if this is the correct newsgroup to post questions on Windows Service. I am trying to install and uninstall a Windows Service programmatically. As far as I know, there isnt a class in .NET FCL which supports doing that. The ServiceController class starts/stops an installed service but doesnt install a service. Is there a way to install/uninstall a service programmatically (not using the Installer) ? Thanks.
9
7027
by: Hardy Wang | last post by:
Hi all: I read an article from http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp about how to install a windows service programmatically. Based ont the code sample, it provides the feature to install service under LocalSystem account. What I need is to install service under some other certian account. By further studying the code, and MSDN...
5
5792
by: cgian31 | last post by:
I need to access an info page in an external website, normally accessible after filling username and password in a form. I would like to hide this complexity (!) from the user, allowing them to access it through an internal web page (which I would design) maybe with a simple hyperlink. How could I use ASP.NET for designing a webpage that will programmatically fill out two fields (user and password) in a simple html form (through...
1
1235
by: Mongo | last post by:
I have an interesting situation with soap:address being dynamically generated. My production environment has a load balancer that is doing https encryption. From there it communicates with my webserivce on port 80. This means that the <soap:addresssetting gets set to http rather than https. Everything works fine, except when clients grab the WSDL from my machine Users' machines complain that the HTTP://.... site does not exist -...
7
4385
by: sunil | last post by:
Hi all, I read an article from http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp about how to install a windows service programmatically. Based on the code sample, it provides the feature to install service under LocalSystem account. What I need is to install service under NT AUTHORITY\NetworkService, so that my service can access the shared network resources.
0
1307
by: asrisk | last post by:
Just a quick note to let you know that we've made a version of the DB2 Information Center available that you can install without requiring root or administrator authority from https://www14.software.ibm.com/webapp/iwm/web/reg/pick.do?lang=en_US&source=swg-dm-db2doce&S_TACT=dm-db2doce. You'll need to sign in with your IBM ID. (You can register for an IBM ID here: https://www.ibm.com/account/profile/us?page=reg). Allan Risk Manager, DB2...
0
1408
by: He Jibo | last post by:
Hi, Everyone, Could someone help me how to install pygtk? I get some problems with it. Here is the error I get while install pygtk: https://netfiles.uiuc.edu/jibohe2/error.GIF?uniq=-k6678k I use python 2.4, I first installed glade-2.0.1-win32_with_gtk, and then pycairo-1.0.2-1.win32-py2.4, pygobject-2.12.3-1.win32-py2.4, and
11
2968
by: =?Utf-8?B?UGV0ZXIgSw==?= | last post by:
I am working with Visual Studio or alternately with Expression Web. I need to create about 50 aspx pages with about 1200 thumbnali images, typically arranged in three to four groups per page, having hyperlinks to the corresponding full size images. Can anybody point me to locations in MSDN or elsewhere giving the references to attach, the commands & objects for creating or opening the pages and possibly available classes? I have done...
3
2283
by: Peter | last post by:
Hi I want to programmatically perform a post. Can some one please give me some pointers to which classes I need to use to achieve this? The form which is normally posted from the website looks like the following, but I want to do it programmatically. <form action="https://intl.payments/recdpay" method="POST"
0
10215
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9865
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8872
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7410
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5307
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3964
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.