Koha/install_misc/debian.packages
Mirko Tietgen 2f634f2862 Bug 15303 Letsencrypt option for Debian package installations
New option koha-create --letsencrypt

- installs the letsencrypt package if needed
- creates <instance>
- generates letsencrypt certificates for <instance>
- sets up a https-only website for <instance>
- redirects http to https for <instance>

! you need to enable jessie backports to install letsencrypt: add
deb http://http.debian.net/debian jessie-backports main contrib non-free
to your /etc/apt/sources.list

! this patch uses the letsencrypt staging server
to create real certificates, apply thy "LE production server" patch

Test plan:
- build a debian package with patch applied
- use apache mod_ssl
  sudo a2enmod ssl
- make sure the machine is accessible on 80 (needed for letsencrypt) and 443 from the internet
- install koha with your new package
- Put your (existing) domain options in /etc/koha/koha-sites.conf
- use koha-create with the new options:
  sudo koha-create --create-db --letsencrypt <instance>
- if you do not have the letsencrypt package installed, you will be prompted to do that
  [
    if there is no package available, a symlink to the git checkout will work:

    on your test server, get letsencrypt via git
    git clone https://github.com/letsencrypt/letsencrypt

    create a symlink from /usr/bin/letsencrypt to letsencrypt-auto
    sudo ln -s /path/to/letsencrypt/letsencrypt-auto /usr/bin/letsencrypt
  ]

- wait until setup is finished, check that you got a working OPAC and staff client with certificates
- check that http redirects to https

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-04-29 13:04:31 +00:00

149 lines
4.1 KiB
Text

apache2 install
at install
cvs install
daemon install
gcc install
gettext install
idzebra-2.0 install
idzebra-2.0-common install
idzebra-2.0-doc install
idzebra-2.0-utils install
letsencrypt install
libalgorithm-checkdigits-perl install
libanyevent-http-perl install
libanyevent-perl install
libarchive-zip-perl install
libauthen-cas-client-perl install
libbiblio-endnotestyle-perl install
libbusiness-isbn-perl install
libcache-fastmmap-perl install
libcache-memcached-fast-perl install
libcache-perl install
libcgi-session-driver-memcached-perl install
libcgi-session-perl install
libcgi-session-serialize-yaml-perl install
libclass-accessor-perl install
libclass-factory-util-perl install
libdata-ical-perl install
libdata-paginator-perl install
libdate-calc-perl install
libdate-manip-perl install
libdatetime-event-ical-perl install
libdatetime-format-dateparse-perl install
libdatetime-format-ical-perl install
libdatetime-format-mail-perl install
libdatetime-format-mysql-perl install
libdatetime-format-strptime-perl install
libdatetime-format-w3cdtf-perl install
libdatetime-locale-perl install
libdatetime-perl install
libdatetime-set-perl install
libdatetime-timezone-perl install
libdbd-mock-perl install
libdbd-mysql-perl install
libdbd-sqlite2-perl install
libdbi-perl install
libdbix-class-schema-loader-perl install
libemail-date-perl install
libgcrypt11 install
libgcrypt11-dev install
libgd-barcode-perl install
libgd-gd2-perl install
libgd2-noxpm-dev install
libgraphics-magick-perl install
libgravatar-url-perl install
libhtml-format-perl install
libhtml-scrubber-perl install
libhtml-template-pro-perl install
libhttp-oai-perl install
libidzebra-2.0 install
libidzebra-2.0-dev install
libidzebra-2.0-mod-alvis install
libidzebra-2.0-mod-grs-marc install
libidzebra-2.0-mod-grs-regx install
libidzebra-2.0-mod-grs-xml install
libidzebra-2.0-mod-text install
libidzebra-2.0-modules install
libjson-any-perl install
libjson-perl install
liblingua-ispell-perl install
liblingua-stem-perl install
liblingua-stem-snowball-perl install
liblist-moreutils-perl install
liblocale-currency-format-perl install
liblocale-gettext-perl install
liblocale-po-perl install
libmail-sendmail-perl install
libmarc-charset-perl install
libmarc-record-perl install
libmarc-xml-perl install
libmemoize-memcached-perl install
libmime-lite-perl install
libmodern-perl-perl install
libmodule-bundled-files-perl install
libmoose-perl install
libmoosex-storage-perl install
libmoosex-types-perl install
libmysqlclient15-dev install
libnet-ldap-perl install
libnet-server-perl install
libnet-z3950-zoom-perl install
libnumber-format-perl install
libpdf-api2-perl install
libpdf-api2-simple-perl install
libpdf-reuse-barcode-perl install
libpdf-reuse-perl install
libpdf-table-perl install
libschedule-at-perl install
libsms-send-perl install
libstring-random-perl install
libstring-rewriteprefix-perl install
libtemplate-perl install
libtemplate-plugin-htmltotext-perl install
libtest-deep-perl install
libtest-mockmodule-perl install
libtest-strict-perl install
libtest-warn-perl install
libtest-yaml-valid-perl install
libtext-bidi-perl install
libtext-charwidth-perl install
libtext-csv-encoded-perl install
libtext-csv-perl install
libtext-csv-xs-perl install
libtext-iconv-perl install
libtext-unaccent-perl install
libtext-wrapi18n-perl install
libtime-duration-perl install
libtime-format-perl install
libtime-progress-perl install
libtimedate-perl install
libuniversal-require-perl install
libunix-syslog-perl install
liburi-perl install
libwww-perl install
libxml-dom-perl install
libxml-dumper-perl install
libxml-libxml-perl install
libxml-libxslt-perl install
libxml-namespacesupport-perl install
libxml-parser-perl install
libxml-perl install
libxml-regexp-perl install
libxml-rss-perl install
libxml-sax-perl install
libxml-sax-writer-perl install
libxml-simple-perl install
libxml-xslt-perl install
libxml2 install
libxml2-dev install
libxml2-utils install
libxslt1-dev install
libxslt1.1 install
libyaml-perl install
libyaml-syck-perl install
libyaz install
libyaz-dev install
make install
mysql-server install
yaz install
yaz-doc install