473,785 Members | 3,137 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 6112
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
7028
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
5794
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
4387
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
1309
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
2970
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
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10315
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...
1
10085
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8968
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...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5379
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...
1
4045
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
2877
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.