PortSIP Solutions, Inc
10
6. Deployment Practices
6.1 Deploy WebRTC Gateway with official certificate
You can purchase an official certificate from the certificate provider such
Thawte
or
Digicert
in order to
avoid the security alert and don’t need add the security exception manually.
During you purchase the certificate, you should generate the private key and CSR by yourself – please
read the provider’s instructions or ask the provider support. We recommend you don’t set the password
for private key file. You must keep the private key file by yourself.
Assume we purchased a certificate from Thawte (in case we use the Thawte SSL123 certificate as
example) for domain
examplertc.com
. After you downloaded the certificate .zip file, just extract it, there
has IntermediateCA.crt and ssl_certificate.crt, you will need to use a plain text editor (for example
Windows Notepad, don’t use MS Word) to combine your two certs with them into one file:
copy all text from IntermediateCA.crt and append to ssl_certificate.crt, the ssl_certificate.crt at the top
and IntermediateCA.crt at the bottom.
1. Ensure the domain
examplertc.com
has been resolve correct to the server which you installed
the PortSIP WebRTC Gateway.
2. Assume the SIP server address is 69.164.210.98, the SIP Domain is:
sip.testsip.com
, the
transport is UDP on port 5060, it has SIP user 100, 101, 102, 103, 104.
3. Use browser open http://examplertc.com:9288/manager/index.html, sign in the Management
Console with admin/admin.
4. Enter ip of
examplertc.com
to “
Gateway IP Address
”.
5. Click “
Listen WSS
” to select it.
6. Set WSS port, for example: 10443
7. Set
examplertc.com
for “
Gateway Domain Name
” filed.
8. Click the up arrow icon to choose the combined “
ssl_certificate.crt
” file for “
Certificate File
”.
9. Click the up arrow icon to choose the private key file which you generated when you purchase
the certificate.
10. If you have set the password when you generate the private key, then please enter it for
“
Private key password
”. If don’t set the password just leave it empty.
11. Click the “
Next
” button.
12. Set the “
SIP Domian
” as
sip.testsip.com
13. Un-select the “
The server address is same as SIP domain
”.
14. Enter the SIP Server Address, in case it is 69.164.210.98.
15. Select the SIP Transport as UDP.
16. The Server port is: 5060.
17. Click the “
Save
” button, the WebRTC Gateway will be restart automatically, you will need to
sign in management console again.
18. Open https://examplertc.com:9287/portgo/index.html by last version FiregFox or Google
Chrome.
19. SIP Username filed: enter a name as 100.
20. SIP password filed: enter the password of SIP user 100.
21. SIP Domain in case is:
sip.testsip.com.
22. WS URI: in case is wss://examplertc.com:10443 (It is WebRTC Gateway IP and WSS port).
23. Press your “
enter
” button
24. Once the web client registered, you can make & receive calls with other SIP client.