stunnel changes https pages to http when clicking a link

I have stunnel4 installed on Ubuntu Server 11.10. I have apache installed from the repositories. I have some programs installed such as ownCloud or sitebar. When I visit their web pages over the Internet using addresses like , if I then click on a link within the web page that appears, it takes me to a http address such as and the page appears white.

I have to always keep changing the URLs to https. How can I correct this behaviour?

Th site installed on the server is located at for example, , but I am taking it through stunnel to give it some security when accessing it online.

3

1 Answer

From the description of the stunnel4 package, it looks like that the application just acts as a secured messenger: at the server side data is encrypted, at the client side it's unencrypted without touching the message contents itself (like rewriting http:// URLs to https://). Since you control the Apache server, you are recommended to configure SSL on Apache. For example, see How to easily deploy HTTPS in ubuntu 10.04?

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like