ขั้นตอนแค่ ป้อน คำสั่งโหลดและ Enter ระบบแสดงข้อมูลแจ้ส
โค้ด: เลือกทั้งหมด
curl -L https://install.pivpn.io | bash
Moderator: mindphp, ผู้ดูแลกระดาน
โค้ด: เลือกทั้งหมด
curl -L https://install.pivpn.io | bash
โค้ด: เลือกทั้งหมด
sudo apt-get update
sudo apt-get -y --reinstall ca-certificates
m161@raspberrypi:~ $ curl -L https://install.pivpn.io | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:--
--:--:-- 0curl: (60) SSL certificate problem: certificate has
expired
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option
noncup302 เขียน: ↑09/02/2023 3:36 pm ขอแนบ Error code เพิ่มครับ
m161@raspberrypi:~ $ curl -L https://install.pivpn.io | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:--
--:--:-- 0curl: (60) SSL certificate problem: certificate has
expired
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option
โค้ด: เลือกทั้งหมด
sudo openssl req -new -x509 -days 365 -nodes -out /etc/pivpn/server.crt -keyout /etc/pivpn/server.key
โค้ด: เลือกทั้งหมด
curl -L https://install.pivpn.io | bash
ใช้คำสั่งนี้ระบบกำลัง install ครับ ขอบคุณมากครับมีอะไรเพิ่มจะอัพเดทนะครับ
โค้ด: เลือกทั้งหมด
curl -L -k https://install.pivpn.io | bash
สมาชิกกำลังดูบอร์ดนี้: noncup302 และบุคลทั่วไป 87