Create A SIP Certificate A

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "=== '''''Applies to version(s): v3.1''''' === {{DISPLAYTITLE:Configuring Certificates}} Certificates are used to provide secure connections, such as HTTPs (secure connection ...")
 
Line 4: Line 4:
 
Certificates are used to provide secure connections, such as HTTPs (secure connection to the web portal) or [[FreeSBC]] secure SIP calls (SIP over TLS).
 
Certificates are used to provide secure connections, such as HTTPs (secure connection to the web portal) or [[FreeSBC]] secure SIP calls (SIP over TLS).
  
This article describes how to import or create certificates. These certificates are later grouped into TLS profiles, which is the first step to configure secure SIP on [[FreeSBC]].
+
This article describes how to import or create certificates. These certificates are later grouped into [[Toolpack:Tsbc_TLS_Profiles|TLS Profiles]], which is the first step in configuring secure SIP on [[FreeSBC]].
  
 
These TLS profiles can later be used to create SIP Transport servers using TLS.
 
These TLS profiles can later be used to create SIP Transport servers using TLS.
 
<br>
 
<br>
  
== To configure an RTP port range  ==
+
== Create a Trusted Certificate ==
  
1. Select '''Hosts IP Interfaces''' from the navigation panel:  
+
1. Select '''Certificates''' from the navigation panel:  
  
[[Image:Select_Host_IP_Interfaces.png]]  
+
[[Image:ConfigureCertificates_0.png|150px]]
  
 +
2. Click ''' Create New Certificate ''' ===
  
<br> 2. Click the '''RTP Port Ranges''' tab:
+
[[Image:ConfigureCertificates_1.png|250px]]
*Click '''Create New RTP Port Ranges'''
+
  
[[Image:Create_Host_Ip_PortRange.png]]
+
3. Configure the certificate parameters:
 +
* Provide a name that is meaningful to you.
 +
* Select "Trusted" certificate to import a remote party's certificate to trust.
 +
* Drag-and-drop (or copy-paste) the certificate's text content into the appropriate text box
 +
* Click "Create"
  
<br> 3. Configure the range of ports:  
+
[[Image:ConfigureCertificates_2.png|500px]]
  
*Enter a name for the port range
+
== Upload local certificates (optional) ==
*Select one or more Hosts IP interfaces
+
Toolpack already contains, by default, a unique self-signed certificate (unique for each Toolpack system, shared for 1+1 hosts). This certificate is used for HTTPs, and can also be used for TLS.
*Enter a minimum port number for the port range
+
*Enter a maximum port number for the port range
+
*Click '''Create'''
+
  
 +
In case you want to use a custom local certificate (like an officially signed certificate for your domain name), proceed as follows:
  
[[Image:Create_Host_Ip_PortRange1.png]]
+
1. Repeat the same procedure as above (but using "Local" certificate type) to import the local certificate.
 +
2. Use ssh (command-line or using a tool like Filezilla) to upload the private key to the unit on the following path.
 +
* Use the '''same file''' name as the local certificate name previously used to import in the web portal (except file extension):
 +
  /lib/tb/toolpack/pkg/ssl_certificate/
 +
 
 +
Example:
 +
 
 +
[[Image:ConfigureCertificates_3.png|500px]]
 +
 
 +
Then:
 +
  scp my_local_cert.key root@MyFreeSbcHostName:/lib/tb/toolpack/pkg/ssl_certificate/
  
 
== List of Parameters ==
 
== List of Parameters ==
  
*[[Parameter: Name|Name]]
+
*[[Parameter: Name|Name]]
*[[Parameter: RTP Port min|RTP Port min]]
+
*[[Parameter: RTP Port max|RTP Port max]]
+

Revision as of 09:50, 14 March 2019

Contents

Applies to version(s): v3.1

Certificates are used to provide secure connections, such as HTTPs (secure connection to the web portal) or FreeSBC secure SIP calls (SIP over TLS).

This article describes how to import or create certificates. These certificates are later grouped into TLS Profiles, which is the first step in configuring secure SIP on FreeSBC.

These TLS profiles can later be used to create SIP Transport servers using TLS.

Create a Trusted Certificate

1. Select Certificates from the navigation panel:

ConfigureCertificates 0.png

2. Click Create New Certificate ===

ConfigureCertificates 1.png

3. Configure the certificate parameters:

  • Provide a name that is meaningful to you.
  • Select "Trusted" certificate to import a remote party's certificate to trust.
  • Drag-and-drop (or copy-paste) the certificate's text content into the appropriate text box
  • Click "Create"

ConfigureCertificates 2.png

Upload local certificates (optional)

Toolpack already contains, by default, a unique self-signed certificate (unique for each Toolpack system, shared for 1+1 hosts). This certificate is used for HTTPs, and can also be used for TLS.

In case you want to use a custom local certificate (like an officially signed certificate for your domain name), proceed as follows:

1. Repeat the same procedure as above (but using "Local" certificate type) to import the local certificate. 2. Use ssh (command-line or using a tool like Filezilla) to upload the private key to the unit on the following path.

  • Use the same file name as the local certificate name previously used to import in the web portal (except file extension):
  /lib/tb/toolpack/pkg/ssl_certificate/

Example:

ConfigureCertificates 3.png

Then:

 scp my_local_cert.key root@MyFreeSbcHostName:/lib/tb/toolpack/pkg/ssl_certificate/

List of Parameters

Personal tools