Sengoli sa Lingoloa
VestaCP Phanele ea taolo e bonolo ebile e bonolo ho e sebelisa:
Kenya VestaCP Control Panel, e ka kenyang ts'ebetso ea ts'ireletso ea Setifikeiti sa Let's Encrypt SSL ka bo eona, kahoo e amoheloa hantle ke linaha tsa kantle ho naha.SEOLitsebi li amohela.
Let's Encrypt ke eng?
Let's Encrypt ke Lekhotla la Setifikeiti sa SSL le phatlalalitsoeng ka la 2016 Mmesa 4.
- E fana ka setifikeiti sa mahala sa X.509 bakeng sa encryption ea Transport Layer Security (TLS) ka mokhoa o ikemetseng,
- E etselitsoe ho felisa tlhahiso ea hajoale ea matsoho, netefatso, ho saena, ho kenya le ho nchafatsa litifikeiti bakeng sa liwebsaete tse sireletsehileng.
Leqephe la ho kena la phanele ea VestaCP, le sebelisa port 8083.
Port 8083 ke eng?
- 8083 ke leqephe la proxy le boema-kepe ba ho jarolla lifaele, ke boema-kepe bo utloahalang.
- Ho thekenoloji ea marang-rang, likou li kenyelletsa likou tsa 'mele le likou tse utloahalang.
Phapang lipakeng tsa Physical Port le Logical Port
- Likou tsa 'mele li bua ka likou tse hlileng li leng teng, joalo ka li-modem tsa ADSL, li-hubs, li-switches le li-routers tse hokahantsoeng le lisebelisoa tse ling tsa marang-rang tse kang li-port RJ-45, SC ports, joalo-joalo.
- Boema-kepe bo utloahalang ke boema-kepe bo khethollang litšebeletso ka moelelo o utloahalang, joalo ka likou tsa litšebeletso ho protocol ea TCP/IP.Linomoro tsa boema-kepe ke 0 ho isa ho 65535.
Leha ho le joalo, hajoale port 8083 ea phanele ea taolo ea VestaCP e bonts'oa ka boiketsetso ntle le setifikeiti sa ts'ireletso sa SSL ...
Kahoo, hoKenya phanele ea VestaCPMorao,Google ChromeMolaetsa ona o tla hlaha:
- Khokahano ea hau ha se khokahano ea lekunutu
- Bahlaseli ba ka 'na ba leka ho utsoa lintlha tsa hau (mohlala, li-password, likhokahano kapa lintlha tsa karete ea mokoloto).
Phanele ea ho kena ea Vesta e thusa https
Likhahlelo tsa 1:Kena ho Panel ea Tsamaiso ea VestaCP
Sebelisa lebitso la moamoheli le port 8083 ▼
http:// 你的域名:8083/
Likhahlelo tsa 2: Kenya tšebeletso ea WEB ea VestaCP
Fumana lebitso la moamoheli oa seva ea hau ebe u tobetsa EDIT ▼
Likhahlelo tsa 3:Fumana 'me u tšoaee SSL le Ha re Encrypt
"Noble SSL (SSL Support)", "Adopt Let's Encrypt (Ha re Encrypt Support)" ▼
- Ebe o tobetsa Boloka (mookameli o tobetsa Boloka ebe o emela metsotso e ka bang mehlano ho bona kopo ea setifikeiti sa SSL)
Likhahlelo tsa 4:Fumana sebaka seo setifikeiti sa tšireletso sa Let's Encrypt se bolokiloeng teng
Ha re Encrypt re boloke litifikeiti tsa eona tsa SSL ho /home/username/conf/web/
sebakeng.
Ka kopo, thathamisa libaka tsa bona ▼
/home/username/conf/web/ssl.website.crt /home/username/conf/web/ssl.website.key
Phanele ea taolo ea VestaCP, boloka setifikeiti sa SSL sa lebitso la moamoheli ho ▼
/usr/local/vesta/ssl/certificate.crt /usr/local/vesta/ssl/certificate.key
Kahoo re hloka ho qala ho reha faele ea khale ea setifikeiti sa VestaCP ho mongolo o mong oa dummy,
E le hore VestaCP e se ke ea hlola e li sebelisa, joale li-symlink tsa lifaele.
Latela mehato e ka tlase ho ithuta ho etsa sena.
Likhahlelo tsa 5:SSH ho seva sa hau
Kenya litaelo tsena tse peli ho reha lifaele tsa khale ▼
mv /usr/local/vesta/ssl/certificate.crt /usr/local/vesta/ssl/unusablecer.crt mv /usr/local/vesta/ssl/certificate.key /usr/local/vesta/ssl/unusablecer.key
- Haeba lits'ebetso tse latelang li hloleha ho sebetsa, li baka hore sehokelo sa SSL se hlolehe, sebaka sa marang-rang se ke ke sa buloa, 'me faele ea SSL "sa sebelisoeng"lebitso, khutlela ho lebitso le fetileng"setifikeiti sa” ntle le ho senya nako ho khutlisetsa phanele ea VestaCP.
Likhahlelo tsa 6:Theha symlink ho supa symlink e ncha
Ka kopo kenya lebitso la hau la mosebelisi joalo ka:admin
tla chenweiliang.com Kenya sebaka ka lebitso la moamoheli (FQDN) la seva sa hau sa VPS▼
ln -s /home/admin/conf/web/ssl.chenweiliang.com.crt /usr/local/vesta/ssl/certificate.crt ln -s /home/admin/conf/web/ssl.chenweiliang.com.key /usr/local/vesta/ssl/certificate.key
Likhahlelo tsa 7:Qala VestaCP hape
service vesta restart
Likhahlelo tsa 8:hlakola cache ea sebatli
Ebe u leka ho kena hape ka har'a phanele ea taolo ea VestaCP u sebelisa port 8083.
- Hona joale SSL ea hau ho port 8083 e sireletsehile!
Tharollo ea tumello e robehileng
Ho lokisa litumello tse robehileng, kenya taelo e latelang▼
- tla your.adminpanel.com Kenya sebaka ka URL ea khomphutha ea hau ea tsamaiso ea VestaCP.
chgrp mail ssl.your.adminpanel.com.key chmod 660 ssl.your.adminpanel.com.key chgrp mail ssl.your.adminpanel.com.crt chmod 660 ssl.your.adminpanel.com.crt
Ka holimo ke mokhoa oa ho nolofalletsa setifikeiti sa SSL mokokotlong oa VestaCP.
Joang ho qobella lebitso la domain ho sebelisa setifikeiti sa https SSL?
mohato oa 1:Kenya template ea tloaelo ea nginx ▼
cd /usr/local/vesta/data/templates/web wget http://c.vestacp.com/0.9.8/rhel/force-https/nginx.tar.gz tar -xzvf nginx.tar.gz rm -f nginx.tar.gz
Likhahlelo tsa 2:Beha template ea moemeli ho qobella-https
- Theha setaele se secha, kapa ka setaele se seng se ntse se le teng, beha matla-https joalo ka template ea proxy ea Nginx.
- Ha o eketsa basebelisi ba bacha, o ka sebelisa template ea "force-https" ho fana ka tumello ho basebelisi ba morero o hlophisitsoeng.
HTTP e lebisa ho HTTPS ka bo eona
VestaCP e tsamaisa HTTP joang ho HTTPS e sebelisa htaccess?
A na u batla ho tsamaisa sebaka sa hau sa Marang-rang ho mofuta o sireletsehileng (HTTPS) oa sebaka sa hau sa marang-rang bakeng sa encryption?
Ho faele ea .htaccess, eketsa syntax e latelang ea 301 redirect▼
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
- "L" e ka holimo [R,L] e bolela ho Qetela (Last), haeba li-grammars tse ling le tsona li na le L, http e ke ke ea fetisetsoa ho https.
- Ka hona, ho khothaletsoa ho tsamaisa http301 ho https syntax holimo (pele ho li-syntaxes tse ling).
Haeba u batla ho kenyelletsa setifikeiti sa SSL se sireletsehileng libakeng tse ling tsa phanele ea taolo ea VestaCP, ka kopo sheba thuto ena ▼
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) e arolelanoeng "VestaCP background port 8083 https ha e sebetse?Kenya SSL Certificate Tutorial" ho u thusa.
Rea u amohela ho arolelana sehokelo sa sengoloa sena:https://www.chenweiliang.com/cwl-705.html
Rea u amohela ho mocha oa Telegraph oa blog ea Chen Weiliang ho fumana lintlha tsa morao-rao!
📚 Tataiso ena e na le boleng bo boholo, 🌟Ona ke monyetla o sa tloaelehang, se ke oa o fetoa! ⏰⌛💨
Share le rata haeba u rata!
Ho arolelana le lintho tseo u li ratang ke khothatso ea rona e tsoelang pele!