X509:certificate has expired or is not yet valid error resolution __ Time management

Source: Internet
Author: User
Tags erro
background:

In the deployment of fabric, three local virtual machine nodes, a remote server node, the corresponding login user name has been cleaned up, the certificate error at startup:

gds@gds-virtualbox:~/goworkspace/fabric_deploy/xingye_test/vp1$./startpeer.sh 2017/08/02 09:49:56 setting number of Procs To-1, was 1 09:49:57.340675 [main] main-> INFO 001 User defined config file path:/home/gds/goworkspace/fabric_ deploy/xingye_test/vp1/09:49:57.343540 [Nodecmd] serve-> INFO 002 Security enabled Status:true 09:49:57.344106 [node CMD] Serve-> info 004 privacy enabled Status:false 09:49:57.344807 [db] Open-> INFO 005 Setting rocksdb Esize to 10485760 09:49:57.345399 [db] Open-> INFO 006 Setting rocksdb keeplogfilenum to 09:49:57.343998 [eventhub_ Producer] Start-> Info 003 Event Processor started 09:49:57.373895 [crypto] registervalidator-> INFO 007 Registeri
Ng Validator [TEST_VP1] with name [TEST_VP1] ... 09:49:57.835920 [Crypto] Errorf-> erro 008 [VALIDATOR.TEST_VP1] Failed checking signing enrollment for SIG Ning: [x509:certificate has expired or is not yet valid] 09:49:57.836090 [crypto] Errorf-> Erro 009 [VALIDATOR.TEST_VP1] Failed getting enrollment certificate [ID=TEST_VP1]: [x509:certificate has expired or are not yet V Alid] 09:49:57.836114 [crypto] Errorf-> erro 00a [VALIDATOR.TEST_VP1] Failed retrieving enrollment data [X509:certifi
Cate has expired or is not yet valid]. 09:49:57.836131 [Crypto] Errorf-> erro 00b [VALIDATOR.TEST_VP1] Failed registering node crypto engine [X509:certifica
TE has expired or is not yet valid].  09:49:57.836231 [Crypto] Errorf-> erro 00c [VALIDATOR.TEST_VP1] Failed registering [peer]: [TEST_VP1 Has expired or is not yet valid] 09:49:57.836243 [crypto] Errorf-> erro 00d [VALIDATOR.TEST_VP1] Failed registering [ TEST_VP1]: [x509:certificate has expired or are not yet valid] 09:49:57.836252 [crypto] registervalidator-> erro 00e F
ailed registering validator [TEST_VP1] with name [TEST_VP1] [x509:certificate has expired] or are not yet valid]. Error:x509:certificate has expired or is not yet valid
Solution:

This problem is basically due to the fact that the certificate has expired, to see if the time of the virtual machine and the remote server is synchronized:

Date

If the time is inconsistent, execute:

Ntpdate cn.pool.ntp.org

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.