
|
If you were logged in you would be able to see more operations.
|
|
|
JRuby
Created: 29/Apr/08 09:51 AM
Updated: 14/Aug/08 04:51 AM
|
|
| Component/s: |
OpenSSL
|
| Affects Version/s: |
JRuby 1.1.1
|
| Fix Version/s: |
None
|
|
Code below produces and error described in the attachemnt x509.trace, Removing SSLCertificate line prevents exception, but is clearly broken, because this configuration worked ok with ruby.
— Code —
config = {
:SSLVerifyMode => OpenSSL::SSL::VERIFY_PEER,
:SSLCACertificateFile => "ssl/CA/cacert.pem",
:SSLPrivateKey =>
OpenSSL::PKey::RSA.new(File.read(File.join(File.dirname(_FILE_),"../config/ssl/polarfox/polarfox_keypair.pem"))),
:SSLCertificate =>
OpenSSL::X509::Certificate.new(File.read(File.join(File.dirname(_FILE_),"../config/ssl/polarfox/cert_polarfox.pem"))),
}
DRb.start_service(nil, nil, config)
|
|
Description
|
Code below produces and error described in the attachemnt x509.trace, Removing SSLCertificate line prevents exception, but is clearly broken, because this configuration worked ok with ruby.
— Code —
config = {
:SSLVerifyMode => OpenSSL::SSL::VERIFY_PEER,
:SSLCACertificateFile => "ssl/CA/cacert.pem",
:SSLPrivateKey =>
OpenSSL::PKey::RSA.new(File.read(File.join(File.dirname(_FILE_),"../config/ssl/polarfox/polarfox_keypair.pem"))),
:SSLCertificate =>
OpenSSL::X509::Certificate.new(File.read(File.join(File.dirname(_FILE_),"../config/ssl/polarfox/cert_polarfox.pem"))),
}
DRb.start_service(nil, nil, config) |
Show » |
|