certificate

Can somebody help me to implement extension Subject Alternative Names using BouncyCastle?

大兔子大兔子 提交于 2021-01-27 22:59:01
问题 I have some string, that is separated with comma. I have to add all extension that match any of GeneralName for Subject Alternative Names extension. Can somebody finish for loop for me? @Override public boolean saveKeypair(String arg0) { KeyPair keyPair = generateKeyPair(Integer.parseInt(access.getPublicKeyParameter())); PrivateKey privateKey = keyPair.getPrivate(); PublicKey publicKey = keyPair.getPublic(); X500Name name = new X500Name(access.getSubject()); BigInteger serial = new BigInteger

starttls successful even after deleting CA from the ca dir

北慕城南 提交于 2021-01-27 22:51:12
问题 I'm having trouble verifying the correct behavior of my software. Here are the steps I am performing to verify correct operation: I have sample code that uses openldap library and doing a start tls to a ldap server. I have set the global option for ca cert directory and tlx context for the first time. After that I did ldap int and ldap start tls to a server. This is succesful as expected. I did an ldap_unbind_s I deleted the CA cert that signed the ldap server's certificate from the ca cert

How to change issuer Name while creating X509Certificate2 in C#

主宰稳场 提交于 2021-01-27 07:32:50
问题 I am working with creating X509Certificate2 certificate in my C#.net application. While creating certificate, how to set the issuer name? currently issuer name shows same as subject name. Please help. 回答1: Hmm. Finally I have used Bouncy Castle dll to create certificates.Using this, there is a method to set issuer name. This is the fully code to generate x509Certificate and to store into Trusted People store: private X509Certificate2 GeneratePFXFile(string certificate,string company,string

How to change issuer Name while creating X509Certificate2 in C#

烂漫一生 提交于 2021-01-27 07:30:17
问题 I am working with creating X509Certificate2 certificate in my C#.net application. While creating certificate, how to set the issuer name? currently issuer name shows same as subject name. Please help. 回答1: Hmm. Finally I have used Bouncy Castle dll to create certificates.Using this, there is a method to set issuer name. This is the fully code to generate x509Certificate and to store into Trusted People store: private X509Certificate2 GeneratePFXFile(string certificate,string company,string

Obtaining the certificate chain

拈花ヽ惹草 提交于 2021-01-27 05:03:46
问题 I am working with X509 certificates in Java. Given a certificate is it possible to find all other certificates in the signing hierarchy until you reach the root certificate? I have a certificate file (with a .cer extension) and I want to extract the parent signing certificate. I want to keep finding the parent of that certificate untill I get the final root certificate, which is self signed. I have checked the X509Certificate certificate APIs and relevant APIs in java.security.cert but could

iOS HTTPS SSL Certificates

a 夏天 提交于 2021-01-24 07:59:06
问题 Scenario I am working on an application that needs to make use of https for network communication. Currently our user credentials (username, password...) are being sent in plain text over our URL. (ex. http://www.myserver.com/service?username=USERNAME&password=PASSWORD... ). This is not good for our client. I am new to using https and even newer to setting up an iOS app to use https . So I have a few questions: assumption : I believe an iOS app must contain an SSL certificate to then be

How to deal with mixed content in a website which should be secured as https?

亡梦爱人 提交于 2021-01-21 08:06:18
问题 I am building a website on server A (with domain name registered), used for people to create and run their "apps". These "apps" are actually docker containers running on server B, in the container, there lives a small web app which can be accessed directly like: http://IP_ADDR_OF_SERVER_B:PORT The PORT is a random big number one which maps to the docker container. Now I can make SSL certificate working on server A, so that it works fine by accessing: https://DOMAIN_NAME_OF_SERVER_A The

How to deal with mixed content in a website which should be secured as https?

£可爱£侵袭症+ 提交于 2021-01-21 08:05:17
问题 I am building a website on server A (with domain name registered), used for people to create and run their "apps". These "apps" are actually docker containers running on server B, in the container, there lives a small web app which can be accessed directly like: http://IP_ADDR_OF_SERVER_B:PORT The PORT is a random big number one which maps to the docker container. Now I can make SSL certificate working on server A, so that it works fine by accessing: https://DOMAIN_NAME_OF_SERVER_A The

how fix “this certificate cannot be verified up to a trusted certification authority”

一世执手 提交于 2021-01-18 06:14:29
问题 I have problem in IE9 with securiry certificate. Then I go to specific address I got There is a problem with this website's security certificate. How can I avoid appearence of this window? I try enter on Continue to this website (not recommended). - cectificate error - View Certificates. I see that This certificate is OK. in certificate Status on certification Path tab. But on the tab General I see text: This certificate cannot be verified up to a trusted certification authority 1) Install

how fix “this certificate cannot be verified up to a trusted certification authority”

℡╲_俬逩灬. 提交于 2021-01-18 06:13:10
问题 I have problem in IE9 with securiry certificate. Then I go to specific address I got There is a problem with this website's security certificate. How can I avoid appearence of this window? I try enter on Continue to this website (not recommended). - cectificate error - View Certificates. I see that This certificate is OK. in certificate Status on certification Path tab. But on the tab General I see text: This certificate cannot be verified up to a trusted certification authority 1) Install