Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> ข้อผิดพลาด Windows

แก้ไข: The Timestamp Signature and/or Certificate could not be Verified or is Malformed

ข้อผิดพลาด Timestamp Signature เกิดขณะติดตั้งแอปพลิเคชัน เช่น DotNetFramework, LogMeIn Go to Assist ฯลฯ มักเกิดเมื่อ Windows ของระบบเก่าเกินไป หรือมีข้อจำกัดจาก Execution Policy

ข้อความเต็ม:

Installation Did Not Succeed
.Net Framework 4.8 has not been installed because:
The Timestamp Signature and/or Certificate Could not be Verified or is Malformed

แก้ไข: The Timestamp Signature and/or Certificate could not be Verified or is Malformed

ปัจจัยหลายอย่างก่อให้เกิด Timestamp Signature Issue สาเหตุหลักที่รายงาน:

  • Windows เก่า: Dotnet Framework อัปเดตตลอดเวลา ระบบ Windows ต้อง Patched ให้ล่าสุด หากขาดอัปเดต อาจก่อให้เกิด Timestamp Issue
  • Dotnet Framework Installer เก่า: หากใช้ Installer เก่า (อาจอยู่ในโฟลเดอร์ Downloads) อาจไม่เข้ากับ OS ปัจจุบัน ก่อให้เกิดปัญหา
  • System Driver ไม่มีลายเซ็นดิจิทัล: เพื่อความปลอดภัย ไดรเวอร์ทุกตัวต้องมี Digital Signature หากมีไดรเวอร์ไม่ได้เซ็น Installer Dotnet อาจโยน Timestamp Error
  • Root Certificates ของระบบเก่า: หากระบบ Auto-update Root Certificates ไม่ได้ (Glitch ใน Certificate Manager) Installer Dotnet อาจ Authenticate ทรัพยากรระบบไม่ได้ โยน Timestamp Issue

ก่อนแก้ไข ตรวจสอบ Date/Time ของระบบให้ถูกต้อง หากเนื่องจาก Certificate หมดอายุ ให้ตั้ง Date/Time ย้อนกลับก่อนหมดอายุ ติดตั้งเสร็จค่อยกลับมา

อัปเดต Windows ให้เป็นรุ่นล่าสุด

Timestamp Signature Issue อาจมาจาก Incompatibility ระหว่างแอปที่มีปัญหา (เช่น LogMeIn Go to Assist) กับ OS การอัปเดต Windows ให้เป็นรุ่น Stable ล่าสุดอาจแก้ปัญหา

  1. กด Windows พิมพ์ Check for Updates เปิด Windows Updateแก้ไข: The Timestamp Signature and/or Certificate could not be Verified or is Malformed
  2. ใน Windows Update คลิก Check for Update หากมีอัปเดต ให้ดาวน์โหลดติดตั้ง (รวม Optional Updates)แก้ไข: The Timestamp Signature and/or Certificate could not be Verified or is Malformed
  3. อัปเดตเสร็จ Reboot PC หลัง Reboot ตรวจสอบว่า Certificate Verification Issue แก้ไขหรือยัง

หากมีอัปเดตที่ติดตั้งล้มเหลว ให้ ติดตั้งด้วยตนเองจาก Microsoft Catalogue เพื่อแก้ Certificate Error

หากปัญหาอยู่กับแอป LogMeIn Go to Assist ลองใช้ไฟล์ EXE ติดตั้งโดยตรง (ไม่ใช่ Opener) ดูว่าแก้หรือไม่

ใช้ Dotnet Framework Installer ล่าสุด

ไม่ใช้ .NET Framework ล่าสุด อาจก่อให้เกิดปัญหากับแอปที่ออกแบบให้รันกับ Framework ล่าสุด การอัปเดตอาจแก้ปัญหาทันที

  1. เปิด Web Browser ไปหน้า Dotnet ของ Microsoft:
    https://dotnet.microsoft.com/download/dotnet-framework
  2. คลิก Latest and Recommended .Net Framework (ปัจจุบันคือ .Net Framework 4.8)แก้ไข: The Timestamp Signature and/or Certificate could not be Verified or is Malformed
  3. คลิก Download .Net Framework 4.8 Runtime รอดาวน์โหลดเสร็จแก้ไข: The Timestamp Signature and/or Certificate could not be Verified or is Malformed
  4. รัน .Net Framework Installer As Administrator ตรวจสอบว่าติดตั้งสำเร็จโดยไม่มี Certificate Verification Issue หรือไม่

รัน SFC Scan ของระบบ

อาจเจอปัญหานี้หาก System Files สำคัญเสียหาย การรัน SFC Scan จะแทนที่ไฟล์ที่ไม่ครบ อาจใช้เวลานาน (ขึ้นกับขนาด System Drive) ลองตอนว่าง เช่น กลางคืน

  1. กด Windows พิมพ์ Command Prompt คลิกขวาเลือก Run as Administratorแก้ไข: The Timestamp Signature and/or Certificate could not be Verified or is Malformed
  2. รันคำสั่ง:
    sfc /scannow
    แก้ไข: The Timestamp Signature and/or Certificate could not be Verified or is Malformed
  3. รอ Scan เสร็จ ตรวจสอบว่าแอปที่มีปัญหา (เช่น Dot Net Framework) ติดตั้งได้โดยไม่มี Timestamp Signature Error หรือไม่

ปิด Code Signing ของ Driver Package

หากเจอ 'Certificate could not be verified' กับ Driver การปิด Code Signing ของ Driver Package จะแก้ปัญหา

คำเตือน: ดำเนินการต่อ على مسؤوليتكمเอง การปิด Code Signing อาจก่อให้เกิดภัยคุกคามด้านความปลอดภัย

  1. กด Windows พิมพ์ Group Policy Editor เลือก Edit Group Policy
  2. ใน Group Policy Editor ขยาย User Configuration ไปที่:
    Administrative Templates >> System >> Driver Installation
  3. ซ้ายมือ Double-click Code Signing for Device Drivers เลือก Enabledแก้ไข: The Timestamp Signature and/or Certificate could not be Verified or is Malformed
  4. ขยาย Dropdown When Windows Detects a Driver File Without a Digital Signature เลือก Ignoreแก้ไข: The Timestamp Signature and/or Certificate could not be Verified or is Malformed
  5. Apply การเปลี่ยนแปลง และ Restart PC
  6. หลัง Reboot ตรวจสอบว่า Driver ติดตั้งได้โดยไม่มี Timestamp Signature Issue หรือไม่

ปิด Auto Root Update ของ Root Certificates

Error นี้อาจเกิดหากระบบ Auto-update Root Certificates ไม่ได้ การปิด Auto Root Update โดย Utility บุคคลที่สาม (DigiCert) จะแก้ปัญหา

คำเตือน: ดำเนินการต่อ على مسؤوليتكمเอง Utility นี้เป็น Third-party อาจเป็นภัยคุกคามต่อระบบ/ข้อมูล

  1. เปิด Web Browser ไปหน้า Download DigiCertแก้ไข: The Timestamp Signature and/or Certificate could not be Verified or is Malformed
  2. คลิก Download รอเสร็จ รัน Utility
  3. ซ้ายมือไป Tools เมนู ขวามือคลิก Auto Root Updateแก้ไข: The Timestamp Signature and/or Certificate could not be Verified or is Malformed
  4. ตั้งค่า Auto Root Update เป็น Disabled ปิด Utility (ถ้าถามให้ Apply)
  5. Reboot PC หลัง Reboot ตรวจสอบว่า Certificate Verification Issue แก้ไขหรือยัง

หากยังไม่แก้ ให้ Export Certificate ที่มีปัญหา และ Import กลับ (หากระบุ Certificate ที่ผิดปกติได้) หากเป็นปัญหา DotNetFramework ลอง ดาวน์โหลด Microsoft Certificate ต่อไปนี้ และ Import เข้า Manage User Certificates >> Trusted Root Certification Authorities >> Certificates ดูว่าแก้หรือไม่

https://www.microsoft.com/pki/certs/MicRooCerAut2011_2011_03_22.crt
แก้ไข: The Timestamp Signature and/or Certificate could not be Verified or is Malformed