Changeset 32384 for main/trunk
- Timestamp:
- 2018-08-29T21:14:39+12:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/build.xml
r32383 r32384 1609 1609 1610 1610 <!-- ============ Targets concerned with https certification ================ --> 1611 <!-- Renewing existing https certificate 1612 https://certbot.eff.org/docs/using.html#renewing-certificates 1613 ./path/to/GS3/bin/linux/certbot-auto renew ==quiet ==no-self-upgrade 1614 --> 1615 <target name="renew-existing-https-cert"> 1616 <echo> 1617 NOTE: To run this target, 1618 * you need to have sudo permissions. Enter the sudo password if prompted. 1619 * ensure nothing is running on port 80. 1620 1621 If you want your cronjob to renew a certificate, you can add pre and post hooks 1622 refer to https://certbot.eff.org/docs/using.html#renewing-certificates 1623 For more information run: 1624 ./path/to/GS3/bin/linux/certbot-auto --help renew 1625 </echo> 1626 <exec executable="./certbot-auto" dir="${basedir}/bin/${os.bin.dir}" failonerror="true"> 1627 <arg value="renew"/> 1628 <arg value="--quiet"/> 1629 <arg value="--no-self-upgrade"/> 1630 </exec> 1631 </target> 1632 1611 1633 <!-- Revoke the certificate and remove it, including folders. 1612 1634 See https://certbot.eff.org/docs/using.html#revoking-certificates … … 1614 1636 ==staging or ==test-cert flag, that flag must be passed to the revoke subcommand." 1615 1637 --> 1616 <target name="remove- cert-https">1638 <target name="remove-https-cert"> 1617 1639 <echo> 1618 1640 NOTE: You need to have sudo permissions to execute this target. … … 1641 1663 </target> 1642 1664 1643 <target name="setup- cert-https-info">1665 <target name="setup-https-cert-info"> 1644 1666 <echo> 1645 1667 ********************************************************************* … … 1651 1673 1652 1674 Note that: 1653 * if you already have a certificate, then you probably don't want to be running this target but the 'ant renew- cert-https' target instead, to renew your existing certificate.1675 * if you already have a certificate, then you probably don't want to be running this target but the 'ant renew-existing-https-cert' target instead, to renew your existing certificate. 1654 1676 * if you run this target when you already have a generated certificate, the existing certificate will remain unchanged and the script will terminate with a message alerting you to this fact. 1655 1677 </echo> … … 1677 1699 </target> 1678 1700 1679 <target name="setup- cert-https" depends="setup-cert-https-info,https-conditions-set">1701 <target name="setup-https-cert" depends="setup-https-cert-info,https-conditions-set"> 1680 1702 <input addproperty="https.cert.email">Enter an email that Let's Encrypt, the certification authority, can send any important notifications to</input> 1681 1703 <input addproperty="https.other.domains">Besides tomcat.server=${tomcat.server}, you may enter a comma separated list of additional domains to support if any</input>
Note:
See TracChangeset
for help on using the changeset viewer.