background analysis
Currently want to use HTTPS on the web, you need to obtain a certificate file the certificate signed by a company by the browser trusts. Once you get it, you specify it in the location on your web server, and and the private key associated with your position, and open 443 port is ready for use. At this point you need to skillfully use the command-line operation, and can be trained to configure the server you control.
This blog describes how to configure EasyDSS enable HTTPS service, before you enable the services we need to apply for a CA certificate.
First, apply for free certificates
Let's Encrypt obtain a certificate, the certificate generation operation needs to be performed on the domain name resolves to a server. Currently on a linux server, follow the steps below for a free certificate.
(1) Preparations
Inspection and installation git
git --version
yum install git
(2) generate a certificate
git clone https://github.com/letsencrypt/letsencrypt
- Before executing commands need to ensure that port 80 is not occupied, you can stop the service if it is occupied
- Such as: service nginx stop
./letsencrypt/letsencrypt-auto certonly --standalone --email [email protected] -d demo.easydss.com
- Performing re-opened after the completion of the previously stopped services, such as: service nginx start
(3) View certificate
There are four key certificate file is generated files "/etc/letsencrypt/live/demo.easydss.com/" directory
- cert.pem [Apache server certificate]
- chain.pem [Apache root certificate and the relay Certificate]
- fullchain.pem [Nginx the ssl_certificate documents required EasyDSS Cert documents]
- privkey.pem [security certificate KEY file required EasyDSS Cert file]
(4) the certificate is valid
- Let's Encrypt free SSL certificate is valid for 90 days after the expiration we can perform the update command
./letsencrypt/letsencrypt-auto certonly --renew-by-default --email [email protected] -d demo.easydss.com
- The same commands can be placed in the script, the script sets regularly scheduled task execution can achieve a permanent free.
Two, EasyDSS open the HTTPS service
(1) In the System Management -> System Configuration -> System Security Configuration, configure open HTTPS service. The default configuration is port 10081, it can be modified to 443, plus the port number is not required when such domain names.
(2) we need to use the certificate is generated above:
/etc/letsencrypt/live/demo.easydss.com/fullchain.pem
/etc/letsencrypt/live/demo.easydss.com/privkey.pem
Three, EasyDSS streaming services to build resources
[Official website] http://www.easydss.com
【http://demo.easydss.com:10080】
【https://demo.easydss.com:10081】
Four, EasyDSS realize the function
EasyDSS streaming solution provides one-stop transcoding, on-demand, live recording, retrieval, playback time-shifted services, which greatly simplifies the development and integration work, and EasyDSS supports a variety of features, fully able to meet corporate video information building needs:
-
Multi-screen playback
support Flash, HTML5 player, compatible with Windows, Android, iOS, Mac and other operating systems. -
Free combination
seamless connection between EasyDSS software products, but also EasyDSS streaming media server software can interface with other third-party platform, a combination of flexibility and freedom. -
Support cloud architecture
to support Ali cloud, cloud Tencent, Huawei cloud, Albatron, seven cattle cloud storage and other major cloud service providers, cloud infrastructure to support the deployment more flexible. -
Third party Retweet
EasyDSS software product support and CDN, other streaming media services butt -
Simple secondary development
provides a programming language independent of the RESTful API interfaces, as long as the understanding of JS, HTML, JAVA, ASP.NET either, PHP, ASP and other development language, you can use RESTful API EasyDSS provide secondary development . -
Easy to use
graphical user module clear, simple process, easy to get started. -
Cluster deployment
EasyDSS can be used either alone or cluster deployment. -
Dynamic storage expansion
dynamic increase in space, free expansion -
Storage monitor
the status and capacity of storage devices to listen, timely early warning
Fifth, on EasyDSS
EasyDSS streaming media server software to provide one-stop transcoding, demand, live, time-shifted playback service, which greatly simplifies the development and integration work. Among them, demand function mainly includes: uploading, transcoding, distribution. Live function , mainly includes: live video, live input support RTMP, RTMP / HLS / output distribution of HTTP-FLV; video support custom long preservation, retrieval and downloading. It provides a wealth of secondary development interface, JSON-based packaging and HTTP calls. Play provides authentication plug-flow authentication and other security guarantees. User rights management and provides related configuration. For more details, visit the official website: www.easydss.com