OpenSSL is an open source software toolkit that implements the SSL/TLS protocol, as well as a general cryptographic library.

learn more… | top users | synonyms

4
votes
0answers
118 views

HsOpenSSL segfaults on OS X

I'm trying to give HsOpenSSL a whirl on Mac OS X, and it's blowing up in my face. The latest Hackage version (HsOpenSSL-0.10.3.3) builds and imports, but doing anything with it kills my GHCi (both ...
4
votes
0answers
25 views

BIO_do_handshake() always return 0

int rtn = BIO_do_handshake(sbio); printf("\n.. returns %d .. \n",rtn); if( rtn <= 0) { fprintf(stderr, "Error in SSL handshake\n"); ERR_print_errors_fp(stderr); } I write this ...
3
votes
0answers
102 views

Verifying signature of non-hashed data with Ruby OpenSSL

I have an RSA public key, some data and a signature of that data. I need to verify the signature. However, the signature is not of a digest of the data, but of the entire data. (The data itself is ...
3
votes
0answers
207 views

How to use SSL_CERT_FILE for OpenSSL Windows (OpenSSL 1.0.1c)

How (if at all) can one define a single trusted certificate file for OpenSSL on Windows (Win-7, OpenSSL 1.0.1c) using the SSL_CERT_FILE environment variable? Various research led me to download the ...
3
votes
0answers
139 views

How to get HMAC Key in OpenSSL

I am using openssl and I want to have my write HMAC Key and AES Key, so that I can accelerate HMAC and AES encryption with GPU in application. Where can I get the keys after SSL_accept? Is the AES ...
3
votes
0answers
2k views

Unable to install OpenSSL package with RVM on Mountain Lion

I'm setting up RVM, Rails, etc., on a clean install of Mountain Lion. I am following the guide "How to Install Xcode, Homebrew, Git, RVM, & Ruby 1.9.3 on Snow Leopard, Lion, and Mountain Lion". ...
3
votes
0answers
219 views

Is there any way to flush the SSL write buffer

I have written one SSL client using OpenSSL APIs to interact with one SSL server. In OpenSSL site I learned that write buffer needs to be flushed after writing some data. I am using SSL_Write and ...
3
votes
0answers
245 views

unsecure resources in https using chrome

Pulling my hair out here. I have a SSL certificate installed correctly but am still showing resources not secure errors on the page when using Google Chrome. Using Chrome developer tools it only ...
3
votes
0answers
308 views

libcurl: Is there any way to get certificates of FTPS without logging in?

libcurl can get certificate info by using CURLINFO_CERTINFO, but that info must come after curl_easy_perform, which means you need to log in to the FTP server first without verifying the certificates. ...
3
votes
0answers
494 views

installing apache mod_ssl with latest openssl version (/usr/local/openssl)

I need to update my apache 2.2.21 installation to use the latest openssl version. But somehow it just keeps using 0.9.8k. (according to server-status). I followed this guide and compiled apache with ...
2
votes
0answers
37 views

Reading PEM-formatted RSA keyfile with the OpenSSL C API

I am trying to read in an AES-128-CBC encrypted PEM key file generated using Ruby with the OpenSSL API. The code that generated the PEM key is the following: ...
2
votes
0answers
154 views

SJCL AES-128-CCM decryption in Ruby

I am trying to implement the SJCL decryption of aes-128-ccm encrypted strings in Ruby. After reading a similar question I see that this should be supported in newer versions of the OpenSSL library, ...
2
votes
0answers
87 views

Why my private RSA key is not a valid key for Amazon?

I have generated a CSR and a private key with the following command: openssl req -nodes -newkey rsa:2048 -keyout myserver.key -out myserver.csr For the last 3 years I did that I optained a proper ...
2
votes
0answers
92 views

Alternate function for openssl_public_encrypt in c#

I have both public.key and private.key both files include with string key. i have implement encryption and decryption in PHP ill add the code below. now i want to do the same thing in c#(encryption ...
2
votes
0answers
156 views

Rails 3: SSL_connect returned=1 errno=0 state=SSLv3 write certificate verify A: EVP lib

When i try run this code require "net/https" require "uri" uri = URI.parse("https://...") # url hidden pem = File.read("c.pem") http = ...

1 2 3 4 5 65
15 30 50 per page