ssl-certificate

Client and Server communication using ssl c/c++ - SSL protocol don't works

半腔热情 提交于 2020-01-10 07:43:10
问题 I'm trying use an SSL client/server example from:http://simplestcodings.blogspot.com.br/2010/08/secure-server-client-using-openssl-in-c.html to create a secure connection using SSLv3. I made some changes for request the certificate on server-side, the comunication works fine and is understood in both sides. Thus, my problem is that when the client connects to server, the protocol communication SSLv3 is not working, I verified using the wirkeshark and in the protocol field just shows TCP, or

Firefox disconnects websockets connection for a self signed certificate

北城余情 提交于 2020-01-09 23:37:11
问题 I am trying to make websocket connection to a backend server that uses a self-signed certificate. In firefox I've added an exception for the self-signed cert. However my websocket connection wss:// fails to connect. I get a close event with code 1006 which is a catch all code. Chrome and IE websockets work. Since I am using windows, I've installed the cert using certmgr.exe as a trusted cert. My guess right now is that firefox websockets do not work with certificate exceptions and need to be

PHP SOAP client with certificates over SSL

本小妞迷上赌 提交于 2020-01-09 10:34:28
问题 I'm trying to set up a Soap client with the following code: <?php $wsdl = 'https://domain.com/?wsdl'; $endpoint = 'https://domain.com'; $certificate = dirname(__FILE__) . '/CertWithKey.pem'; $password = 'pwd'; $options = array( 'location' => $endpoint, 'keep_alive' => true, 'trace' => true, 'local_cert' => $certificate, 'passphrase' => $password, 'cache_wsdl' => WSDL_CACHE_NONE ); try { $soapClient = new SoapClient($wsdl, $options); } catch(Exception $e) { var_dump($e); } I was given a .p12

PHP SOAP client with certificates over SSL

旧街凉风 提交于 2020-01-09 10:33:00
问题 I'm trying to set up a Soap client with the following code: <?php $wsdl = 'https://domain.com/?wsdl'; $endpoint = 'https://domain.com'; $certificate = dirname(__FILE__) . '/CertWithKey.pem'; $password = 'pwd'; $options = array( 'location' => $endpoint, 'keep_alive' => true, 'trace' => true, 'local_cert' => $certificate, 'passphrase' => $password, 'cache_wsdl' => WSDL_CACHE_NONE ); try { $soapClient = new SoapClient($wsdl, $options); } catch(Exception $e) { var_dump($e); } I was given a .p12

PHP SOAP client with certificates over SSL

两盒软妹~` 提交于 2020-01-09 10:32:12
问题 I'm trying to set up a Soap client with the following code: <?php $wsdl = 'https://domain.com/?wsdl'; $endpoint = 'https://domain.com'; $certificate = dirname(__FILE__) . '/CertWithKey.pem'; $password = 'pwd'; $options = array( 'location' => $endpoint, 'keep_alive' => true, 'trace' => true, 'local_cert' => $certificate, 'passphrase' => $password, 'cache_wsdl' => WSDL_CACHE_NONE ); try { $soapClient = new SoapClient($wsdl, $options); } catch(Exception $e) { var_dump($e); } I was given a .p12

Generating client side certificates in browser and signing on server

拈花ヽ惹草 提交于 2020-01-09 04:46:46
问题 Is it possible to request generation of client keypair in browser and send the public key to the server CA to be signed transparently? Then installing the signed certificate in user's browser? Scenario: User opens https://examle.com/ web page, server identity is verified User requests an account creation Keypair is generated in user's browser and not revealed to server/CA Pubkey is send to server for signing Server signes the key and generates certificate Certificate is sent to client and

HTTP Status 500 - Internal Server Error on Glassfish

时间秒杀一切 提交于 2020-01-07 03:19:27
问题 I recently changed my domain SSL certificate since the old one was expiring. The certificate was successfully installed on glassfish and I my application was up and running. The challenge comes in whenever I log in to glassfish admin console , I get " HTTP Status 500 - Internal Server Error " . I use ubuntu 14.04 server. Any help will be highly appreciated. 回答1: I had the same problem after updating the SSL-certificate on my servers... After I run the following command in the admin console I

SSL - CN Validation with self signed certificates

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-06 15:17:41
问题 I need expert advise on CN validation with the self signed certificates. Here is the scenario. Server is installed with the self signed certificate Client (not browser) installed with same self sighed certificate for the purpose of trust validation of server during server authentication. Client has no access to any other certificates for trust validation. In this scenario, what are the implications of NOT doing CN validation? What are the possible security concerns? [Assume - Private key on

implement SSL Certificate Pinning while using React Native

被刻印的时光 ゝ 提交于 2020-01-06 14:17:15
问题 I can't do use a webservice on Android using React Native. The webservice uses a certificate to be able to connect. I tried various solutions but without success. Currently I am trying to use this code: https://medium.com/@jaedmuva/react-native-ssl-pinning-is-back-e317e6682642 which also looks like the code in this link: How can I implement SSL Certificate Pinning while using React Native this is my code: public class MainApplication extends Application implements ReactApplication { private

Exception on using IP address in certificate name

拜拜、爱过 提交于 2020-01-06 08:16:34
问题 Caused by: javax.net.ssl.SSLPeerUnverifiedException: Hostname 97.xx.xxx.xxx not verified: certificate: sha256/tjx1IRiuC1TmxlIIhW8FWOxoaFoY2E3mECOgtGW0Jqk= DN: O=Internet Widgits Pty Ltd, ST=Some-State, C=AU subjectAltNames: [97.xx.xxx.xxx] Certificate details Certificate: Data: Version: 3 (0x2) Serial Number: XXXXXXX Signature Algorithm: sha256WithRSAEncryption Issuer: C = US, ST = Some-State, O = Internet Widgits Pty Ltd Validity Not Before: Apr 22 17:42:36 2019 GMT Not After : Apr 20 17:42