To main content

OpenLiberty to get Let’s Encrypt support

Published by Benjamin Marwell on

The java application server OpenLiberty will receive support for Certificates issued by Let’s Encrypt. The setup will be ridiculously easy as always. You can just paste the following lines into your server.xml ein:

<server>
  <featureManager>
    <feature>acmeCA-2.0</feature>
  </featureManager>

  <acmeCA directoryURI="https://acme.host.com/directory" >
    <domain>theDomainThatIOwn.com</domain>
    <accountContact>mailto:my_email_addr@theDomainThatIOwn.com</accountContact>
  </acmeCA>

  <httpEndpoint host="*" httpPort="9080" httpsPort="8443" id="defaultHttpEndpoint"/>
  <keyStore password="password_for_keystore" id="defaultKeyStore"/>
<server>

Sources