ssl-certificate

Using ssl with localhost with asp.net mvc 5 on VS2015

蹲街弑〆低调 提交于 2021-02-19 05:54:28
问题 I'm trying to test my website locally using SSL with IIS Express. It has the following properties set: SSL Enabled set to 'true' SSL URL is set https://localhost:44354/ But whenever I open the https address, I get the following error: In "Microsoft Edge": In Google Chrome: I've read article after articles, including some on SO but to no avail. I've tried the following: I've deleted my IIS Express Development Certificate I've repaired IIS Express 10 via the Control Panel I've removed the

What are the best practices to map a client certificate to an user account?

好久不见. 提交于 2021-02-18 12:51:31
问题 We have a proprietary framework and now we want to integrate the authentication by client side ssl certificates. What are the best practices to map a client certificate to a proprietary user account (for example a simple user table in the database)? Save to public key of the certificate? Save issuer and serialnumber? Or are there other possibilities? 回答1: Are you issuing the certificates (and have a possibility to set some fields of the certificate)? Does these certificates have to be

What are the best practices to map a client certificate to an user account?

穿精又带淫゛_ 提交于 2021-02-18 12:51:11
问题 We have a proprietary framework and now we want to integrate the authentication by client side ssl certificates. What are the best practices to map a client certificate to a proprietary user account (for example a simple user table in the database)? Save to public key of the certificate? Save issuer and serialnumber? Or are there other possibilities? 回答1: Are you issuing the certificates (and have a possibility to set some fields of the certificate)? Does these certificates have to be

Composer Require 'package' throws OpenSSL error

拥有回忆 提交于 2021-02-18 12:48:45
问题 This problem seems to be common, and i've been through a lot of SO posts related to it and nothing works, and i'm going crazy. Whats weird is that it was working perfectly few weeks ago, and i didnt install anything new since months... Setup : PHP 7.1.9 WAMPSERVER 3.1.0 APACHE 2.4.27 Composer 1.6.5 (latest) I'm not behind a proxy & no firewall Windows 10 What Works : composer self-update What does not work : Installing a package I cannot reach https://packagist.org/ with firefox 61.0.1

Certificate validation failed: validation of client side certificate fails when the certificate is validated

℡╲_俬逩灬. 提交于 2021-02-11 15:24:09
问题 I am trying to get mutual client certification to work in Azure. I am running a web app with this configuration: public class Startup { public Startup(IConfiguration configuration) { Configuration = configuration; } public IConfiguration Configuration { get; } // This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServices(IServiceCollection services) { services .AddAuthentication(CertificateAuthenticationDefaults.AuthenticationScheme

Certificate validation failed: validation of client side certificate fails when the certificate is validated

被刻印的时光 ゝ 提交于 2021-02-11 15:22:36
问题 I am trying to get mutual client certification to work in Azure. I am running a web app with this configuration: public class Startup { public Startup(IConfiguration configuration) { Configuration = configuration; } public IConfiguration Configuration { get; } // This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServices(IServiceCollection services) { services .AddAuthentication(CertificateAuthenticationDefaults.AuthenticationScheme

How to retrieve client certificate from rest request in Java

为君一笑 提交于 2021-02-11 14:44:14
问题 I'm using Jersey for REST server in Java and Jetty as web server. I have self signed certificates. I want to fetch client certificate details from received HTTP Request. How to obtain the information from HttpServletRequest ? One method: X509Certificate certs[] = (X509Certificate[])httpRequest.getAttribute("javax.servlet.request.X509Certificate"); Is this right? This results in exception, Error [Ljava.lang.Object; cannot be cast to [Ljava.security.cert.X509Certificate Should I include any

How do I make MS Word add-in trust self signed certificate?

痞子三分冷 提交于 2021-02-11 13:23:29
问题 We are mostly in our organization working locally using our extensive LAN and for our internal servers we don't use https. Though all new addins from MS Office demand that the requests use HTTPS, thus I created a self-signed certificate in one of our internal servers, from which the addin's manifest.xml fetches the html and js code. The problem is that, since MS Word uses IE 11 embedded therein, we get that annoying security warning on the taskpane addin. How do I make MS Word add-in trust a

Xampp Apache is not starting SSL configuration

半世苍凉 提交于 2021-02-10 20:15:14
问题 [Wed Mar 25 20:33:20.591528 2015] [ssl:error] [pid 24469] AH02578: Init: Unable to read pass phrase [Hint: key introduced or changed before restart?] [Wed Mar 25 20:33:20.591679 2015] [ssl:error] [pid 24469] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [Wed Mar 25 20:33:20.591698 2015] [ssl:error] [pid 24469] SSL Library Error: error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error [Wed Mar 25 20:33:20.591711 2015] [ssl:error]

facing issue with connecting to SharePoint Online from Python due to cert issue

梦想与她 提交于 2021-02-10 14:53:18
问题 I am trying a get a list items from SharePoint to Python, here is the code I am using for the poc ctx_auth = AuthenticationContext(url='https://SharePointSiteURL') if ctx_auth.acquire_token_for_user(username='MyUser@Company.onmicrosoft.com',password='MyPassword'): ctx = ClientContext('https://SharePointSiteURL', ctx_auth) lists = ctx.web.lists ctx.load(lists) The issue I am getting following error "Error: HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded