-users] 回复:
回复: [help]SSL_CTX_use_certificate_file failed!
On Tue, Sep 13, 2016 at 11:59:06PM +0800, zy_chongqing wrote:
> Only this one certificate, acutually this file is used for the iOS APNs
> function.the weird thing is, I use the same file and same code on other
> 2 server, it work w
On Tue, Sep 13, 2016 at 11:59:06PM +0800, zy_chongqing wrote:
> Only this one certificate, acutually this file is used for the iOS APNs
> function.the weird thing is, I use the same file and same code on other
> 2 server, it work well. That is really confused me.
Then perhaps the copy of the file
13日(星期二)
23:46收件人:openssl-users 主 题:Re: [openssl-users] 回复:
[help]SSL_CTX_use_certificate_file failed!
On Tue, Sep 13, 2016 at 10:53:57PM +0800, zy_chongqing wrote:
> thanks for your reply. please kindly find the attached to get the certificate.
Firstly, you posted a 2048-bit certificate, wh
On Tue, Sep 13, 2016 at 10:53:57PM +0800, zy_chongqing wrote:
> thanks for your reply. please kindly find the attached to get the certificate.
Firstly, you posted a 2048-bit certificate, which would not normally
fail with a "key too small" error, other than by failure to parse
the public key.
Se
There is not other error information. And I try to get more error message by
the method as below:if (0 == SSL_CTX_use_certificate_file(m_pCtx,
RSA_CLIENT_CERT, SSL_FILETYPE_PEM))
{
ERRLOG("Cannot use Certificate File:%s", ERR_error_string(
ERR_get_error(), NULL ));
(X509_get_extension_flags+0x2c) [0x823794c]
6 /usr/local/lib/libssl.so.1.1(+0x4dd65) [0xb76a2d65]
7 /usr/local/lib/libssl.so.1.1(SSL_CTX_use_certificate+0x41) [0xb76853c1]
8 /usr/local/lib/libssl.so.1.1(SSL_CTX_use_certificate_file+0xed) [0xb768553d]
9 ./MemoSrv() [0x80bc93b]
10 ./MemoSrv() [0x80bd32a
false;
> }
>
> if(0 == SSL_CTX_load_verify_locations(m_pCtx, NULL, CA_CERT_PATH))
> {
> /* Handle failed load here */
> ERRLOG("Failed to set CA location:%s", ERR_error_string(
> ERR_get_error(), NULL ));
> return false
L_CTX_load_verify_locations(m_pCtx, NULL, CA_CERT_PATH))
{
/* Handle failed load here */
ERRLOG("Failed to set CA location:%s", ERR_error_string(
ERR_get_error(), NULL ));
return false;
}
if (0 == SSL_CTX_use_certificate_file(m_pCtx, RSA_CLIENT_CERT,
S
used.
main()
{
SSL_library_init();
SSL_load_error_strings();
SSLeay_add_ssl_algorithms();
meth = SSLv23_server_method();
ctx = SSL_CTX_new (meth);
SSL_CTX_use_certificate_file(ctx, CERTF, SSL_FILETYPE_PEM);
...
...
...
}
But while executing
On Wed, Apr 01, 2009, AnneB wrote:
>
> I have generated programatically a certificate using _tfopen and
> PEM_write_X509 in order to support unicode for certificate file names.
>
> How can I load a certificate in this case? SSL_CTX_use_certificate_file
> doesn't work
I have generated programatically a certificate using _tfopen and
PEM_write_X509 in order to support unicode for certificate file names.
How can I load a certificate in this case? SSL_CTX_use_certificate_file
doesn't work in my case.
Thanks in advance.
--
View this message in context:
that
SSL_CTX_use_certificate_file(m_app_ctx, certpath, SSL_FILETYPE_PEM) causes a
crash.
My app calls this, but then this function (or some func thereunder I believe),
somehow requests a HUGE amount data to be malloced, thus causing a fatal
exception.
Has anyone else experienced this problem, and gotten through it?
Sor
> We're currently using the following to read a key from disk and use it
> in our application:
>
> SSL_CTX_use_certificate_file(my_ssl_ctx_save,"./SSL/pubcert.pem",S
> SL_FILETYPE_PEM);
> SSL_CTX_use_PrivateKey_file(my_ssl_ctx_save,"./SSL/privkey.pem",SS
;re currently using the following to read a key from disk and use it
> in our application:
>
> SSL_CTX_use_certificate_file(my_ssl_ctx_save,"./SSL/pubcert.pem",SSL_FILETYPE_PEM);
> SSL_CTX_use_PrivateKey_file(my_ssl_ctx_save,"./SSL/privkey.pem",SSL_FILETYPE_PEM);
our application:
SSL_CTX_use_certificate_file(my_ssl_ctx_save,"./SSL/pubcert.pem",SSL_FILETYPE_PEM);
SSL_CTX_use_PrivateKey_file(my_ssl_ctx_save,"./SSL/privkey.pem",SSL_FILETYPE_PEM);
This works, however, this method is extremely slow in our multi-threaded
enviornment due to disk I/
I am getting an error from SSL_CTX_use_certificate_file.
I am getting 33558531 error:02001003:system library:fopen:No such process.
Does anyone know what this means?
Thanks
George
__
OpenSSL Project
Hi,
Under windows 2000 / XP environment I'm getting the following error when I
try to use the SSL_CTX_use_certificate_file() function with
SSL_FILETYPE_PEM. The application that I have built is an NT Service and
when I start it from Service Control Manager or by issuing a net start
it
17 matches
Mail list logo