<div dir="ltr">Hi Joel and Branden,<div><br></div><div>I have three goals:</div><div>1) To have an FS install that secures all WebRTC and SIP traffic to it</div><div>2) An install that doesn't require WebRTC users to manually fetch the certificate

<br class="gmail-Apple-interchange-newline"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">3) An install that uses only production-ready software</span>

</div><div><br></div><div>For goal 1, Mike and Giovanni have said a Debian Jessie minimal is the best or only choice.</div><div><br></div><div>For goal 2, I'm avoiding gentls_cert and its self-signed certs. As a first attempt, I'm trying to get a free CA cert from LetsEncrypt via certbot. Unfortunately, doing this on debian jessie requires that I use backports that are described as "as-is", so I'm sacrificing goal 3 for the time being.</div><div><br></div><div>In order to inform FS where it can find the private key, cert, and chain, I was planning to introduce soft links to the files that certbot put under /etc/letsencrypt/live/<a href="http://my.domain.com/">my.domain.com/</a></div><div><br></div><div>I'm ready to do that, except that sip_profiles/internal.xml isn't where it normally would be, because I followed <a href="https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie#highlighter_549778">https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie#highlighter_549778</a> and created /etc/freeswitch/ without knowing why I should do that. So  /usr/local/freeswitch/  does not exist, unfortunately. Also, echo ${prefix} is blank. So, I did a find from slash for internal.xml and found four matches:</div><div><br></div><div><div>/usr/share/freeswitch/conf/insideout/sip_profiles/internal.xml</div><div>/usr/share/freeswitch/conf/sbc/sbc_profiles/internal.xml</div><div>/usr/share/freeswitch/conf/vanilla/sip_profiles/internal.xml</div><div>/usr/share/freeswitch/conf/vanilla/skinny_profiles/internal.xml</div><div><br></div><div>Which of these should I edit?</div><div><br></div><div>Also, is it necessary to concatenate my private key, cert, and chain into a "wss.pem" as suggested at <a href="https://freeswitch.org/confluence/display/FREESWITCH/WebRTC#highlighter_647427">https://freeswitch.org/confluence/display/FREESWITCH/WebRTC#highlighter_647427</a></div><div><br></div><div>Cheers,</div><div>David</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 29, 2018 at 12:34 PM, Joel Serrano <span dir="ltr"><<a href="mailto:joel@textplus.com" target="_blank">joel@textplus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi David, <div><br></div><div>So it all depends.. Those docs are just introductions to get a setup "up and running". For example, in the docs you generate self-signed certificates that (although perfectly valid) can give you issues with browsers because their CA is not trusted, etc. Regarding expiration, it all depends, as this is something you choose. </div><div><br></div><div>Going down to your specific problems:</div><div><br></div><div>1- ..${prefix}.. is just a variable, that will be replaced with a value, normally /usr/local/freeswitch, but can be anything (depending on where you installed FS).</div><div>2- When it comes to the "path" that you specify in the config for the certificates, it can also be anything, the important part is that you make sure that the user you run FS with has access to reading those files. If you don't like using ${prefix} you can directly set /path/to/your/certs, just remember double checking the permissions.</div><div>3- When you renew your certificate, you will have to make FS aware of that, I'd have to check but I'm pretty sure that after updating the files a sofia profile rescan should be enough.</div></div></blockquote></div></div></div></div>