<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>you need to use certbot not with the icecast server, and you need
      to create another typ of pam file that icececast can use it</p>
    <p>icecast must be builded with ssl support. at some standart repo
      it isnt.</p>
    <p>on ubuntu run for icecast cert:</p>
    <pre class="wp-block-preformatted">apt-get install certbot

certbot certonly --webroot-path="/usr/share/icecast2/web" -d 'stream.example.com'

cat /etc/letsencrypt/live/stream.example.com/fullchain.pem /etc/letsencrypt/live/stream1.example.com/privkey.pem > /etc/icecast2/bundle.pem

chmod 666 /etc/icecast2/bundle.pem  (if you know the user of icecast you can run chown and not chmod)

renewl
nano /etc/letsencrypt/renewal/stream.example.com.conf

post_hook = cat /etc/letsencrypt/live/stream.example.com/fullchain.pem /etc/letsencrypt/live/stream.example/privkey.pem > /etc/icecast2/bundle.pem && service icecast2 restart

certbot renew --dry-run


</pre>
    <div class="moz-cite-prefix">Am 25.12.2021 um 17:09 schrieb Tony
      Harding:<br>
    </div>
    <blockquote type="cite"
      cite="mid:20211225160925.310B640584@smtp2.osuosl.org">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 11 (filtered
        medium)">
      <style>p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}div.Section1
        {page:Section1;}</style>
      <!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
      <div class="Section1">
        <p class="MsoNormal"><font size="3" face="Times New Roman"><span
              style="font-size:
              12.0pt"><o:p> </o:p></span></font></p>
        <div>
          <p class="MsoNormal"><font size="2" face="Arial" color="navy"><span
                style="font-size:
                10.0pt;font-family:Arial;color:navy">Merry Christmas</span></font><span
              lang="EN-US"><o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><font size="3" face="Times New Roman"><span
              style="font-size:
              12.0pt"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="2" face="Arial"><span
              style="font-size:10.0pt;
              font-family:Arial">Can I ask about the KH version here? Or
              is this just the
              standard version?<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="2" face="Arial"><span
              style="font-size:10.0pt;
              font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="2" face="Arial"><span
              style="font-size:10.0pt;
              font-family:Arial">A client of mine needs to run KH and I
              have it working on a
              windows server for them. But the icecast.xml is tiny and
              missing several things
              that are in my standard version xml.<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="2" face="Arial"><span
              style="font-size:10.0pt;
              font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="2" face="Arial"><span
              style="font-size:10.0pt;
              font-family:Arial">I copied and pasted in things like
              <location> and
              <support> and the server would not run. Also I tied
              adding ports like 80
              so I can get certbot to work and it did not seem to like
              that either.<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="2" face="Arial"><span
              style="font-size:10.0pt;
              font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="2" face="Arial"><span
              style="font-size:10.0pt;
              font-family:Arial">Suggestions from the multitude would be
              gratefully received.<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="2" face="Arial"><span
              style="font-size:10.0pt;
              font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="2" face="Arial"><span
              style="font-size:10.0pt;
              font-family:Arial">Merry Christmas <o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="2" face="Arial"><span
              style="font-size:10.0pt;
              font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="2" face="Arial"><span
              style="font-size:10.0pt;
              font-family:Arial">Tony<o:p></o:p></span></font></p>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Icecast mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Icecast@xiph.org">Icecast@xiph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.xiph.org/mailman/listinfo/icecast">http://lists.xiph.org/mailman/listinfo/icecast</a>
</pre>
    </blockquote>
  </body>
</html>