Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

c# - WebException Could not establish trust relationship for the SSL/TLS secure channel -


my company has developed .net web service , client dll uses web service. webservice hosted on our server on ssl , cert provided , signed godaddy. have clients in hosted environment getting following error message client dll when tries access our web service.

system.net.webexception underlying connection closed: not establish trust relationship ssl/tls secure channel.

our fix has been have them open ie on server, challenge in , of lot of hosted services, , go wsdl url. ie prompts them security alert dialog. says cert date valid , valid name matching name of page, issued company have not chosen trust. when click yes proceed, client dll can succesfully connect web service , operate normal.

does have idea why godaddy not have been in there valid publishers list? of servers have running has godaddy valid authority. i'm guessing, security reasons, they've uninstalled authority godaddy, not totally convinced there's not other underlying issue.

unfortunately, haven't had luck trying recreate locally. if go internet options , remove godaddy authorities , hit our service, ssl works fine. go list of publishers , godaddy gets put right in. second question is, how heck rid of godaddy can invalid cert warning?

okay, last question. there way in code can tell web service ignore invalid certs. i've seen posts on doing programatically wcf not old web services.

you may need install on servers intermediate certificates used sign ssl certs.

browsers attempt validate ssl certificate checking validation of chain of certs signed ssl cert. if server doesn't supply certificate chain ssl certificate, browser may reject ssl cert. (more of issue firefox ie). root certificate must still installed on client machine of work.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -