我重新创建了一个具有相同名称的节点.我遇到这个错误设置节点并引导它:
Starting Chef Client, version 11.16.4
[2014-11-24T18:51:13+00:00] INFO: *** Chef 11.16.4 ***
[2014-11-24T18:51:13+00:00] INFO: Chef-client pid: 4540
Creating a new client identity for node1 using the validator key.
[2014-11-24T18:51:15+00:00] INFO: Client key /etc/chef/client.pem is not present - registering
[2014-11-24T18:51:16+00:00] INFO: HTTP Request Returned 409 Conflict: Client already exists
[2014-11-24T18:51:16+00:00] INFO: HTTP Request Returned 403 Forbidden: error
================================================================================
Chef encountered an error attempting to create the client "node1"
================================================================================
Authorization Error:
--------------------
Your validation client is not authorized to create the …Run Code Online (Sandbox Code Playgroud) 我正在使用MySQL并生成证书以与MySQL一起使用以启用SSL.
这是SSL配置:
mysql> show variables like '%ssl%';
+---------------+----------------------------+
| Variable_name | Value |
+---------------+----------------------------+
| have_openssl | YES |
| have_ssl | YES |
| ssl_ca | /etc/mysql/ca-cert.pem |
| ssl_capath | |
| ssl_cert | /etc/mysql/server-cert.pem |
| ssl_cipher | |
| ssl_key | /etc/mysql/server-key.pem |
+---------------+----------------------------+
7 rows in set (0.00 sec)
Run Code Online (Sandbox Code Playgroud)
它看起来工作正常,看起来我用MySQL服务器应用证书做得很好.
通过远程主机创建与MySQL服务器的连接存在问题.
mysql -u app1 -p -h 192.168.33.131 --ssl --ssl-capath=<path>/ssl/ --ssl-ca=<path>/ca-cert.pem --ssl-cert=<path>/client-cert.pem --ssl-key=<path>/client-key.pem
Enter password:
ERROR 2026 (HY000): SSL connection error: protocol version mismatch
Run Code Online (Sandbox Code Playgroud)
似乎有一些证书问题或可能是其他问题.
环境: …
在Ubuntu 14.04 LTS(Trusty Tahr)上运行更新时.遇到以下错误:
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages Hash Sum mismatch
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-amd64/Packages Hash Sum mismatch
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages Hash Sum mismatch
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages Hash Sum mismatch
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-i386/Packages Hash Sum mismatch
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/i18n/Translation-en Hash Sum mismatch
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/i18n/Translation-en Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)