digital-certificate

How to programmatically verify an assembly is signed with a specific Certificate?

痞子三分冷 提交于 2019-12-02 21:36:59
My scenario is we have one program (exe) that will start other programs if found in a particular folder. I want to ensure it only ever starts programs which are signed with our Corporate certificate (Verisign approved etc). Essentially then it will only start the programs with the same certificate as itself. I don't want to ship the certificate itself. I've been searching the web and the system namespace and haven't found a clear example that reads the certificate data from a file and also validates it, and can check against another file. The closest I've found is Signtool and and having this

how can I check if the certificate file I have is in .pem format

妖精的绣舞 提交于 2019-12-02 14:28:24
I have a rootcert file and I dont know whether it is in .pem format or not, how do I check that it is in .pem format? Anomie A .pem format certificate will most likely be ASCII-readable. It will have a line -----BEGIN CERTIFICATE----- , followed by base64-encoded data, followed by a line -----END CERTIFICATE----- . There may be other lines before or after. DER vs. CRT vs. CER vs. PEM Certificates and How To Convert Them Quote from the support page: View ==== Even though PEM encoded certificates are ASCII they are not human readable. Here are some commands that will let you output the contents

Client Authentication via X509 Certificates in asp.net

ε祈祈猫儿з 提交于 2019-12-02 14:18:52
I have an asp.net application and I need to authenticate users using X509 certificates. That is, the user must install a certificate issued by me so that he can browse my website and I can identify which user is, by this certificate. I have already configured SSL on IIS, but it's not what I'm looking for right now, and I don't know where to start. How can I achieve this in asp.net c#? To create a secure authentication mechanism you would use both client certificates and username / password. The reason is that a certificate is something that can be stolen (copied) but a password is something

X.509 Digital Signatures/Encryption workflow/library recommendations?

微笑、不失礼 提交于 2019-12-02 04:22:00
问题 My particular use case is that I have to access digital certificates stored on the client, and use them to perform tasks of signing, verifying, encryption and decryption on the client side and the server side. For the latter part, there are many many solutions. The sticking point is the ability to access certificates stored on the client. Note that I am saying "certificates stored on the client" which is deliberately vague. I dont want to restrict thoughts to system store, user store, browser

how to validate a client Certificate using the trusted internediate CA certificate?

一个人想着一个人 提交于 2019-12-01 19:17:31
I am having client Certificate "A" which is signed by the CA1 certificate. CA1 certificate is signed by the Root certificate. Now I have the CA1 certificate (trusted ) and received Client certificate (non trusted ) . during validation I need to verify the trust path of the client certificate using CA1 (trusted) only .. I dont have /receive the Root certificate. Is it possible to do this validation ? I am using Openssl 1.0.0g version library. If any one know how to do that please share with me . Since, you have given the Tag, ssl-certificate , I assume that you need such a validation during an

how to validate a client Certificate using the trusted internediate CA certificate?

天大地大妈咪最大 提交于 2019-12-01 17:14:20
问题 I am having client Certificate "A" which is signed by the CA1 certificate. CA1 certificate is signed by the Root certificate. Now I have the CA1 certificate (trusted ) and received Client certificate (non trusted ) . during validation I need to verify the trust path of the client certificate using CA1 (trusted) only .. I dont have /receive the Root certificate. Is it possible to do this validation ? I am using Openssl 1.0.0g version library. If any one know how to do that please share with me

Can i get installed certificate on my system through java

橙三吉。 提交于 2019-12-01 06:19:46
Can i get installed certificates on my system through java something like this Eg. Certificate[] certificate = someClass.getsystemCertificates(); Is there is some api available for this???? You can use the keytool command to get the list of certificates in your cacerts file, which is the collection of approved certificates that Java comes with. The default password for this keystore is "changeit". keytool -list -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit This depends on the system. Windows has centralized certificate storage, while other platforms don't (at least, no

Can i get installed certificate on my system through java

不羁岁月 提交于 2019-12-01 05:30:24
问题 Can i get installed certificates on my system through java something like this Eg. Certificate[] certificate = someClass.getsystemCertificates(); Is there is some api available for this???? 回答1: You can use the keytool command to get the list of certificates in your cacerts file, which is the collection of approved certificates that Java comes with. The default password for this keystore is "changeit". keytool -list -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit 回答2: This

How to Add a Digital Certificate to a SingleImage Install Shield Installation Program

依然范特西╮ 提交于 2019-12-01 03:01:13
I have an installation program created using the limited version of Install Shield within Visual Studio 2012. I have a digital certificate that I want to add to the installation program. I'd like to use the SingleImage feature of Install Shield to create and deliver a single installation file (e.g. setup.exe) to my customers. It seems, however, that I must attach the digital certificate to an msi file, which is embedded within setup.exe, by Install Shield. I have found that placing the digital certificate on setup.exe results in telling the user that the publisher is unknown, when running the

This solution is safe to access to user's private certificate on a web with a webSoket communication?

六眼飞鱼酱① 提交于 2019-12-01 01:25:26
We are developing a web page that use https protocol (two way). We need to access to the private certificates of the user, because we need sign documents by the user's certificate, so we developed a Java application that communicate with the web by a websoket. This application will call with a protocol call since the web (same that when you open a pdf on Acrobat Reader from a browser). So we have to be sure that our web is calling to the native application(only our web). We want develop a system to be sure of that. Our idea: Send a public key, a signed token by the server's private certificate