raspberry Pi ดาวน์โหลด pivpn ไม่ได้ แจ้ง certificate has expired

สอบถามเรื่องทั่วไป กับ การใช้คอมพิวเตอร์โดยทั่วไป แนะนำข่าวสารไวรัสคอม เทคนิคเล็กน้อยๆ กับ การใช้ คอมพิวเตอร์ ให้มีประสิทธิภาพมากที่สุด ฝากคำถามไว้ได้นะค่ะ

Moderator: mindphp, ผู้ดูแลกระดาน

ภาพประจำตัวสมาชิก
noncup302
PHP VIP Members
PHP VIP Members
โพสต์: 13598
ลงทะเบียนเมื่อ: 17/05/2022 10:36 am

raspberry Pi ดาวน์โหลด pivpn ไม่ได้ แจ้ง certificate has expired

โพสต์ที่ยังไม่ได้อ่าน โดย noncup302 »

จะทำการดาว์โหลด pivpn ผ่าน terminal แล้วไม่ได้ครับแจ้งเตือน certificate has expired.

ขั้นตอนแค่ ป้อน คำสั่งโหลดและ Enter ระบบแสดงข้อมูลแจ้ส

โค้ด: เลือกทั้งหมด

curl -L https://install.pivpn.io | bash
แจ้งเตือนดังภาพ ต้องใช้คำสั่งอะไรเพิ่มครับสำหรับให้ ระบบทำการดาวน์โหลดต่อไปได้
1
1
rasrpberry.png (91.92 KiB) Viewed 985 times
ภาพประจำตัวสมาชิก
noncup302
PHP VIP Members
PHP VIP Members
โพสต์: 13598
ลงทะเบียนเมื่อ: 17/05/2022 10:36 am

Re: raspberry Pi ดาวน์โหลด pivpn ไม่ได้ แจ้ง certificate has expired

โพสต์ที่ยังไม่ได้อ่าน โดย noncup302 »

ไปค้นคว้ามาเจอ ให้ลอง reinstall ดู สามารถใช้งานได้ไหมครับคำสั่งนี้

โค้ด: เลือกทั้งหมด

sudo apt-get update
sudo apt-get -y --reinstall ca-certificates
อ้างอิง
https://forums.raspberrypi.com/viewtopic.php?t=191867
ภาพประจำตัวสมาชิก
noncup302
PHP VIP Members
PHP VIP Members
โพสต์: 13598
ลงทะเบียนเมื่อ: 17/05/2022 10:36 am

Re: raspberry Pi ดาวน์โหลด pivpn ไม่ได้ แจ้ง certificate has expired

โพสต์ที่ยังไม่ได้อ่าน โดย noncup302 »

ขอแนบ 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
ภาพประจำตัวสมาชิก
noncup302
PHP VIP Members
PHP VIP Members
โพสต์: 13598
ลงทะเบียนเมื่อ: 17/05/2022 10:36 am

Re: raspberry Pi ดาวน์โหลด pivpn ไม่ได้ แจ้ง certificate has expired

โพสต์ที่ยังไม่ได้อ่าน โดย noncup302 »

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

ลองเปิดใช้งาน ssh pi@raspberrypi
Pass : raspberry



สร้าง SSL certificate: ใหม่แล้วด้วย

โค้ด: เลือกทั้งหมด

sudo openssl req -new -x509 -days 365 -nodes -out /etc/pivpn/server.crt -keyout /etc/pivpn/server.key
ติดตั้ง pivpn

โค้ด: เลือกทั้งหมด

curl -L https://install.pivpn.io | bash
แล้วยังติด เหมือนเดิม
ภาพประจำตัวสมาชิก
mindphp
ผู้ดูแลระบบ MindPHP
ผู้ดูแลระบบ MindPHP
โพสต์: 41230
ลงทะเบียนเมื่อ: 22/09/2008 6:18 pm
ติดต่อ:

Re: raspberry Pi ดาวน์โหลด pivpn ไม่ได้ แจ้ง certificate has expired

โพสต์ที่ยังไม่ได้อ่าน โดย mindphp »

ตามไกด์ที่ระบบแจ้งมาคือ
ให้ใส่ parameter
-k หรือ --insecure ตอนเรียกใช้งาน curl
ติดตาม VDO: http://www.youtube.com/c/MindphpVideoman
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
ภาพประจำตัวสมาชิก
noncup302
PHP VIP Members
PHP VIP Members
โพสต์: 13598
ลงทะเบียนเมื่อ: 17/05/2022 10:36 am

Re: raspberry Pi ดาวน์โหลด pivpn ไม่ได้ แจ้ง certificate has expired

โพสต์ที่ยังไม่ได้อ่าน โดย noncup302 »

mindphp เขียน: 24/03/2023 6:01 pm ตามไกด์ที่ระบบแจ้งมาคือ
ให้ใส่ parameter
-k หรือ --insecure ตอนเรียกใช้งาน curl
ใช้คำสั่งนี้ระบบกำลัง install ครับ ขอบคุณมากครับมีอะไรเพิ่มจะอัพเดทนะครับ

โค้ด: เลือกทั้งหมด

curl -L -k https://install.pivpn.io | bash
ตอบกลับโพส
  • Similar Topics
    ตอบกลับ
    แสดง
    โพสต์ล่าสุด

ผู้ใช้งานขณะนี้

สมาชิกกำลังดูบอร์ดนี้: noncup302 และบุคลทั่วไป 87