Closed GoogleCodeExporter closed 8 years ago
I'm using rubygems 1.0.1 here, so it will probalby work best with rubygems >
1.0.
I do not use setup.rb to install anything. Just doing `gem install
rubycas-server`
should be enough to install everything. I've done this on a clean machine
without any
problems.
Regarding the https problem -- someone else reported the same issue.
Double-check
that you have ruby's openssl extensions installed. In the meantime I'll look
back and
see if we previously found some other resolution.
Original comment by matt.zuk...@gmail.com
on 21 May 2008 at 2:44
Hi, when i test this little script the https run ok.
So I think that it will come from rubycasserver.
Can you say me when you setup the https in rubycas-server.
#!/usr/local/bin/ruby
require 'webrick'
require 'webrick/https'
require 'openssl'
pkey = cert = cert_name = nil
begin
pkey = OpenSSL::PKey::RSA.new(File.open("/etc/rubycas-server/server.key").read)
cert = OpenSSL::X509::Certificate.new(File.open("/etc/rubycas-server/server.pem").read)
rescue
$stderr.puts "Switching to use self-signed certificate"
cert_name = [ ["C","JP"], ["O","WEBrick.Org"], ["CN", "WWW"] ]
end
s=WEBrick::HTTPServer.new(
:Port => 8080,
:Logger => WEBrick::Log::new($stderr, WEBrick::Log::DEBUG),
:DocumentRoot => "/htdocs",
:SSLEnable => true,
:SSLVerifyClient => OpenSSL::SSL::VERIFY_NONE,
:SSLCertificate => cert,
:SSLPrivateKey => pkey,
:SSLCertName => cert_name
)
s.start
Thanks
Regards
MrT
Original comment by mrt...@gmail.com
on 24 May 2008 at 3:39
Okay I think I got it. I've released a new version of Picnic (0.6.4) that
should fix
this.
You can upgrade just by running `gem install picnic`. After that RubyCAS-Server
0.6
should work fine again with Webrick and SSL.
Thanks for taking the time to debug this for me.
Original comment by matt.zuk...@gmail.com
on 26 May 2008 at 5:08
Original issue reported on code.google.com by
mrt...@gmail.com
on 20 May 2008 at 6:51