Issue #1323

Switch all Replicant URL references to https

Added by sel mo over 5 years ago. Updated over 3 years ago.

Infrastructure (web, git)
Target version:
Start date:
Due date:
% Done:


Estimated time:


  • project's Overview tab, refers to homepage: (http://)
  • redmine emails refer to in:
    • header links to issues/posts
    • footer sign in link

This is a suggestion :)

Related issues

Related to Replicant - Issue #1335: Problem with SSL on websiteClosedWolfgang Wiedmeyer


Updated by Paul Kocialkowski over 5 years ago

Good point, I've also spotted that in the source tree, at vendor/replicant.

Would you care to look whether you can find http references at other places?


Updated by Denis 'GNUtoo' Carikli about 5 years ago

  • Device Not device specific added

Updated by Denis 'GNUtoo' Carikli about 5 years ago

Paul, Would changing HTTP to HTTPS in fix it?



Updated by Paul Kocialkowski almost 5 years ago

  • Device added
  • Device deleted (Not device specific)

Just changed the protocol to https. Any other place to change this?


Updated by sel mo almost 5 years ago

Hi Paul,

Thanks for switching redmine Admin's protocol to https (as it ensures links generated by redmine, such as #XXX Issue links, [[Wikis Pages]], as well as URLs in outgoing emails, use https)

Aside from that, I suggest:

1. Amend the Homepage value

In, change to

2. Manually edit Issues, Wiki & Forum mentions of:

A quick way of doing this could be to put redmine in read-only (for the time necessary to perform the following steps), make a SQL dump of redmine's DB, switch all http references to https in the dump file, override the DB with the dump file, and restart redmine/Apache.

mysqldump -u redmine -p --opt --lock-tables=false redmine > redmine_dump_yyyymmdd.sql

# Edit the @redmine_dump.sql@, using vim for example,

vim redmine_dump_yyyymmdd.sql


mysql -u root -p

    drop database redmine;
    CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'password_used_by_redmine.replicant';
    GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost';
    flush privileges;

chmod 777 redmine_dump_yyyymmdd.sql  #(Optional step) ie. if mysql complains it can't import the .sql file

mysql -u root -p redmine < redmine_dump_yyyymmdd.sql

sudo service apache2 restart

3. Systematically redirect :80 to :443

I see is hosted via Apache.

I don't know much Apache, as I always use nginx, but checking Apache's documentation, setting up such a redirect requires something like this:

NameVirtualHost *:80
<VirtualHost *:80>
   Redirect permanent /

<VirtualHost _default_:443>
   DocumentRoot /usr/local/apache2/htdocs/redmine
   SSLEngine On
# etc...

If ever you consider switching replicant's redmine to nginx, I'd be glad to help - just let me know ;)


Updated by Kurtis Hanna almost 4 years ago

  • Assignee changed from Paul Kocialkowski to Wolfgang Wiedmeyer
  • Priority changed from Normal to High

We really need to fix our TLS so that it gets A+ and then redirect everything to 443.


Updated by Wolfgang Wiedmeyer over 3 years ago

URLs in the Redmine settings are switched to https. URLs are also changed in the README and CONTRIBUTORS files in vedor/replicant and the manifest repo.

The wiki should now only use local links for references to content (except on deprecated pages) and links to the website are https. I won't change issues and forum posts, because I won't change messages from users. We don't have access to the database anyway.

I mentioned systematically redirecting http to https in the OSUOSL ticket for the new cert.
It looks like the registration page is not redirected to https, only the login page. This is another reason that a systematical redirect is necessary.


Updated by Kurtis Hanna over 3 years ago

  • Status changed from New to Closed

I'm very sorry if I'm closing a ticket that shouldn't be closed, but all of our links now redirect to https, so this seems like a ticket that can be closed.


Updated by Wolfgang Wiedmeyer over 3 years ago

  • % Done changed from 0 to 100
  • Resolution set to fixed

Also available in: Atom PDF