https

Can ServiceStack JsonServiceClient send a get request to https w/self signed certificate?

会有一股神秘感。 提交于 2020-01-14 13:54:07
问题 I making a call to get using JsonServiceClient to serialize my request object. My server is using https and I created a self signed certificate. It would appear that an exception is thrown when the client tries to connect and the server responds that the certificate is not trusted and that the identity of the server has not been verified. In a browser I can ignore this message. How can I get the JsonService client to work with https and a self signed certificate? 回答1: I think this is a

HTTPS request on old iphone 3g

爱⌒轻易说出口 提交于 2020-01-14 10:23:12
问题 Anyone else having issues with getting a https request working on the old iphone. From connection did fail with error the error message is as follows. ERROR with theConnection:Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “www.ourwesbite.co.uk” which could put your confidential information at risk." The "ourwebsite" has a valid certificate and also this problem does not arise in any new iphone

HTTPS request on old iphone 3g

流过昼夜 提交于 2020-01-14 10:23:05
问题 Anyone else having issues with getting a https request working on the old iphone. From connection did fail with error the error message is as follows. ERROR with theConnection:Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “www.ourwesbite.co.uk” which could put your confidential information at risk." The "ourwebsite" has a valid certificate and also this problem does not arise in any new iphone

git svn: password for svn is not stored

拜拜、爱过 提交于 2020-01-14 08:46:07
问题 I'm using git against a central remote svn repository using 'git-svn'. The SVN repository uses https with a self-signed certificate. Everything works fine, with one nasty exception. As long as I use directly with svn, the password is remembered, so it has to by typed only on the first command. When using git-svn operations (e.g. dcommit, rebase), the password is no longer remembered and manual input is required. After a git-svn oparation, direct svn commands do no longer remember the password

Cross protocol cookie iFrame

百般思念 提交于 2020-01-14 06:16:39
问题 I have a web page on http ://localhost/mySite/Page1.aspx that contains an iframe with src https ://localhost/mySite/Page2.aspx. Inside iframe page (Page2.aspx), i set cookie with JavaScript. How i can read that cookie on parent page (Page1.aspx)??? It looks like Page1 not sees the cookie that Page2 sets. To set/read cookies, I use jQuery.Cookie plugin: $.cookie('myKey', JSON.stringify(data), { expires: 1, path: '/', domain: 'localhost' }); BTW, if someone can give me an idea how to transfer

generic non-www to www, and non-http to https

≡放荡痞女 提交于 2020-01-14 04:34:08
问题 I have the following code for my .htaccess file that I've picked up from here and tried adapting it as I understand from .htaccess, yet I can't seem to get it to work (or maybe the browser has cached it but I can't seem to clear it). Options -Indexes Options +FollowSymlinks <IfModule mod_rewrite.c> ########## FORCE SSL ########## RewriteEngine On RewriteBase / # Non-secure requests to www.domain.com should redirect to https://www.domain.com RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST}

net::ERR_CERT_AUTHORITY_INVALID when trying to locally call to API

落花浮王杯 提交于 2020-01-14 03:46:06
问题 I have an AngularJS served at http://localhost:4200 and an apache server api located at https://localhost. Both of these separately work just fine. but, when trying to request from my AngularJS app which is sitting in a non-SSL protocol and on a different port to my API sitting on SSL protocol and on a different port, I get this error net::ERR_CERT_AUTHORITY_INVALID on my chrome devTools network tab. Do I need to change my SSL configuration? Should I enable or disable an option in chrome?

Client certificate authentication

本秂侑毒 提交于 2020-01-14 00:15:38
问题 I am new to SSL and Certificates . I have been doing my research about client certificate authentication. I have read this and wiki. So If I have to implement a client certificate auth solution for my B2B REST service should I do following Ask clients to generate their own private-public key and generate certificate (CA issued?) for their public key. Send that certificate over email or USB key. On the server side import client's public certificate into trust store and enable client

HttpsURLConnection failing intermittently to the same URL

旧巷老猫 提交于 2020-01-13 19:52:51
问题 I think I'm experiencing the same as http://groups.google.com/group/android-developers/msg/9d37d64aad0ee357 This is Android 1.5 SDK. I happen to call several times below code(which is in a method) with the same url and it fails intermittently. When it fails, there is no exception, the stream is empty so the readConnection fails, and getResponseCode returns -1. Global caching is disabled, setDefaultUseCaches(false); I suppose there must be some kind of url connection object pool somewhere. Any

SSL/TLS/HTTPS sites are very slow in a C#/.NET WebBrowser control, but fine in Internet Explorer

安稳与你 提交于 2020-01-13 18:19:09
问题 Background I'm modifying AutoWikiBrowser to work with a MediaWiki site hosted on a secure server. I allow the user to login manually via a WebBrowser control in a C# application, and then save the stored cookies for use in HttpWebRequest's. The Problem The problem I'm having is that any site which uses SSL/TLS (https:// urls) takes an incredibly long time to load, often timing out. I've tried this not only with the MediaWiki site in question, but also other secure sites like PayPal and secure