Enabling HTTPS in Wub...

27 views
Skip to first unread message

Georgios Petasis

unread,
Oct 9, 2011, 9:46:14 AM10/9/11
to wub-dis...@googlegroups.com
Hi all,

Is there any info on how can I enable HTTPS in Wub?

Initially I tried to run it under Windows, but I saw the CA domain
complaining (trying to set permissions on a file), and looking into the
code, it seems it is unix specific (calls which and openssl).

Running Wub under Linux, resulted in no complains from CA, and it has
written some files in the CA directory.
But Wub is still missing these .pem files that are in the configuration.

How can I generate the two required .pem files, and where should I put them?

Looking through google, I think that these .pem files are a
concatenation of keys. I have to combine something generated by Wub in
the CA directory?

Regards,

George

Colin McCormack

unread,
Oct 9, 2011, 11:27:31 AM10/9/11
to wub-dis...@googlegroups.com, Georgios Petasis
As per the CA/README, assuming you're using the CA, it should supply
necessary keys and certificates to Https. It passes these to tls as
follows: -cafile [CA cafile] -certfile [CA certificate $host]

It should be sufficient to use the configuration in CA/README in your
site.config for this to occur. Is it not occurring?

Failing that, you can use openssl or similar to construct the cafile
stuff yourself and pass them into the tls package via the Https section,
as the CA/README config does.

Colin

Reply all
Reply to author
Forward
0 new messages