x509

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

X509: What's the difference between digital signature and non-repudiation

江枫思渺然 提交于 2020-01-09 13:11:12
问题 I have to deal with certificates issued by the Swiss post office on USB tokens. There deliver two certificates on the same token. In their intended usage fields, one has "non repudiation" and the other "digital signature". Now, I can't understand what the practical difference between the two are: I've always seen both in the same certificate, never two certs for the same identity each with one of the roles. In fact, I can't imagine a scenario where non-repudiation and digital signature aren't

Invoke Windows Certificate Export Wizard .NET [duplicate]

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-06 08:27:36
问题 This question already has answers here : How to P/Invoke CryptUIWizExport Function using .NET (2 answers) Closed 6 years ago . Does anyone know how to invoke/display the Windows Certificate Export Wizard Programmatically within C#.NET whilst providing an X509 Certificate? 回答1: I think you'll have to P/Invoke CryptUIWizExport from the Cryptui.dll. 回答2: I don't know, but i do vote for program this wizard in C#. Look at X509Certificate2UI class and X509Certificate2.Export method. You will find

Mongodb x.509 'No verified subject name available from client'

耗尽温柔 提交于 2020-01-06 07:25:26
问题 I have the following issue: I run mongobd with the following config file # mongod.conf # for documentation of all options, see: # http://docs.mongodb.org/manual/reference/configuration-options/ # Where and how to store data. storage: dbPath: /var/lib/mongodb journal: enabled: true # engine: # mmapv1: # wiredTiger: # where to write logging data. systemLog: # destination: file # path: /var/log/mongodb/mongod.log logAppend: true # network interfaces net: port: 27017 bindIp: 127.0.0.1 ssl: mode:

Installing a x.509 Certificate on IIS in DiscountASP

别来无恙 提交于 2020-01-06 05:35:51
问题 All the tutorials i have seen regarding installation of x.509 Certificate assumes that the server machine is your local machine and you have full access to it. But my app is hosted on DiscountASP, so how can I install the certificate on their machine ? 回答1: You can't because you don't have permissions to install certificate on hosting server. If you want to use HTTPS you must pay your hosting provider for buying and installing certificate for you (or you must have plan which offers SSL or

Convert .crt + .key files to X509Certificate2 programmatically in C#

﹥>﹥吖頭↗ 提交于 2020-01-05 04:37:16
问题 I have a .crt certificate and a .key private key file on a Linux machine. The private key is in encrypted PKCS#8 format (BEGIN ENCRYPTED PRIVATE KEY...). I would like to import these into an X509Certificate2 object for further use. Since we're on Linux, we're using .NET Core 2.2 (we cannot migrate to 3.0 yet). I have explored a few possible solutions, detailed below: Use openssl to convert the files to a .pfx and import that using X509Certificate2 I do not want to use this option since I don

Setting up web services with x509 and multiple clients and how to distinguish clients?

ⅰ亾dé卋堺 提交于 2020-01-04 09:39:49
问题 Following these two links, I was able to implement a simple web service with x509 certification, and an authenticated test client to consume the service. Right now, it looks something like this: -------------- | ServiceA.svc | ------------> Test Client 1 | -GetData() | -------------- How can I extend what I have to accomplish something like this: -------------- | ServiceA.svc | ------------> Test Client 1 | -GetData() | ------------> Test Client 2 | -SaveData() | -------------- | ServiceB.svc

Setting up web services with x509 and multiple clients and how to distinguish clients?

我的梦境 提交于 2020-01-04 09:39:13
问题 Following these two links, I was able to implement a simple web service with x509 certification, and an authenticated test client to consume the service. Right now, it looks something like this: -------------- | ServiceA.svc | ------------> Test Client 1 | -GetData() | -------------- How can I extend what I have to accomplish something like this: -------------- | ServiceA.svc | ------------> Test Client 1 | -GetData() | ------------> Test Client 2 | -SaveData() | -------------- | ServiceB.svc