473,739 Members | 9,879 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ClickOnce deployment fails when both SSL is enabled and "require c

A windows forms 2.0 ClickOnce deployment fails when both SSL is enabled and
"require client certificate" enabled on the IIS deployment web server.

Can anyone assist with how to configure this properly or at least confirm if
it will just not work?

When not requiring the client certificate the deployment site works fine.
However, when I set SSL to "require client certificate" I am prompted for a
client cert when I initially open the url. I select my client cert and the
web page opens as expected.

The problem occurs when I click install to being the ClickOnce deployment.

I receive the following error message:

+ The remote server returned an error: (403) Forbidden.

From my research I have come to understand a few things about ClickOnce.

1. There is nothing inherent to ClickOnce that restricts access to the
deployment files other than Windows Access Control Lists (ACLs) which is
impractical for my application.

2. Each file downloaded to the client is a separate request and are not
related to each other.
Mar 21 '07 #1
2 4256
After working directly with a Microsoft Engineer I have an answer. ClickOnce
deployment simply does not work when requiring a client certificate over SSL.
Microsoft indicated that this product limitation would be addressed in the
next release of Visual Studio (Orcas).

"John B" wrote:
A windows forms 2.0 ClickOnce deployment fails when both SSL is enabled and
"require client certificate" enabled on the IIS deployment web server.

Can anyone assist with how to configure this properly or at least confirm if
it will just not work?

When not requiring the client certificate the deployment site works fine.
However, when I set SSL to "require client certificate" I am prompted for a
client cert when I initially open the url. I select my client cert and the
web page opens as expected.

The problem occurs when I click install to being the ClickOnce deployment.

I receive the following error message:

+ The remote server returned an error: (403) Forbidden.

From my research I have come to understand a few things about ClickOnce.

1. There is nothing inherent to ClickOnce that restricts access to the
deployment files other than Windows Access Control Lists (ACLs) which is
impractical for my application.

2. Each file downloaded to the client is a separate request and are not
related to each other.
Mar 28 '07 #2
Thanks for posting back what you found out ---
"John B" <Jo***@discussi ons.microsoft.c omwrote in message
news:48******** *************** ***********@mic rosoft.com...
After working directly with a Microsoft Engineer I have an answer.
ClickOnce
deployment simply does not work when requiring a client certificate over
SSL.
Microsoft indicated that this product limitation would be addressed in the
next release of Visual Studio (Orcas).

"John B" wrote:
>A windows forms 2.0 ClickOnce deployment fails when both SSL is enabled
and
"require client certificate" enabled on the IIS deployment web server.

Can anyone assist with how to configure this properly or at least confirm
if
it will just not work?

When not requiring the client certificate the deployment site works fine.
However, when I set SSL to "require client certificate" I am prompted for
a
client cert when I initially open the url. I select my client cert and
the
web page opens as expected.

The problem occurs when I click install to being the ClickOnce
deployment.

I receive the following error message:

+ The remote server returned an error: (403) Forbidden.

From my research I have come to understand a few things about ClickOnce.

1. There is nothing inherent to ClickOnce that restricts access to the
deployment files other than Windows Access Control Lists (ACLs) which is
impractical for my application.

2. Each file downloaded to the client is a separate request and are not
related to each other.

Mar 28 '07 #3

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

Similar topics

5
2997
by: Phil Powell | last post by:
I'm sorry but I can't figure out how to explain this any better than this. In PHP we have a command "require()" that obtains a file and logically places it into another file. I cannot figure out how to do this in bash script as the requirement is necessary for a migration script to obtain the code from a .cfg file and then be able for the "parent" script to run the code it "imported" from the .cfg file, much like PHP's require() or...
4
2804
by: Mxsmanic | last post by:
The require() I'm using in a PHP script has stopped working after I moved from PHP4 and Apache 1.3.x to PHP5 and Apache 2.x. Now I get messages like this: Warning: main(/includes/ReloadScript.html) : failed to open stream: No such file or directory in /usr/local/www/htdocs/main/AOLCompression.php on line 14 Fatal error: main() : Failed opening required '/includes/ReloadScript.html' (include_path='.:/usr/local/lib/php') in
15
6078
by: Michael | last post by:
Guten Morgen, I am implementing a script that my client wants on their website. Within the script there are several "require" statements. Any time one of these "require" statements is executed, the script terminates. Any ideas how I might solve this problem?
2
4703
by: Mika M | last post by:
Hi! I made ClickOnce deployment for Windows Forms VB 2005 application, and it's working mostly fine. Now I have some question: 1. Is it okay when my application goes into x:\Documents and Settings\...-directory in target computer, or is there something wrong with my ClickOnce deployment? I assumed application(s) goes into x:\Program Files\... -directory.
0
1559
by: Andrew | last post by:
A clickonce deploy fails when both SSL is enabled and "require client certificate" enabled on the deploy server. The deployment seems to fail only because the client would normally require a prompt that their certificate is being accessed (a function of the security setting on the issue of the certificate) While it is logical for the deployment to fail for other warning prompts (such as SSL server certificate name not matching or...
2
2540
by: Michael D. Reed | last post by:
I am using ClickOnce to distribute a program. It works well except for one detail. When a new version is installed, the program does not initialize properly immediately after the update. The sequence is the user starts the program, is informed a new version is ready, installs it, when it is complete and the main form is displayed, the user needs close the form, and restarts the program to the form to initialize properly. The problem is...
5
2208
by: lister | last post by:
Hi all, I have a fairly diverse range of data that I want to cache in the session rather than pulling it from the database on every page refresh. The problem is is that it seems that PHP requires the class definitions available on EVERY page, as it unserialises everything even if it's not going to be used.
1
1936
by: Jack | last post by:
Hi there, Apologies if this NG is off-topic but I can't find anything more appropriate (feel free to let me know). I'm looking at ClickOnce as a possible alternative to MSI and have poured through much of the docs trying to figure out how to customize my app's install if possible. In my deployment scenario users will be downloading the app from my web site in WYSIWYG fashion but I'm stuck on the following issues: 1) I need to prompt...
3
5320
by: =?Utf-8?B?Um9nZXIgVHJhbmNoZXo=?= | last post by:
Hello, I would like to know the best way to install an clickonce in .net 3.5 (we use LINQ 8-D) published application on terminal server 2003 Do I have to install it on EVERY user that will use it ? If so, all the files will be duplicated for every user ? in wich folder ? If not, where will reside the application on the server ? how to make a shortcut for the main "executable" for all the users pointing to that ?
0
9337
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...
1
9266
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
9209
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
8215
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
6054
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
4570
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
4826
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3280
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
2193
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.