我在笔记本电脑上托管了Blynk服务器,当我尝试连接到Raspberry Pi的服务器时,它会抛出“SSL未授权”错误。
我使用了自签名证书。
server.properties文件
allowed.administrator.ips=
server.ssl.cert=./cert/server.crt
server.ssl.key=./cert/server.pem
server.ssl.key.pass=password
Blynk日志输出。
18:30:45.707 INFO - Using data dir '../data'
18:30:45.994 INFO - Region : local
18:30:46.036 INFO - Initializing mail transport. Username : example@gmail.com. SMTP host : smtp.gmail.com:587
18:30:46.297 INFO - Plain tcp/ip hardware server port 8442.
18:30:46.451 INFO - SSL hardware port 8441.
18:30:46.466 WARN - Found server certificates but no client certificate for '/home/nutan/Blynk/Server' path. Using one way ssl.
18:30:46.480 INFO - Application server port 8443.
18:30:46.524 INFO - HTTP API port 8080.
18:30:46.553 INFO - HTTPS API port 9443.
18:30:46.576 INFO - HTTPS admin UI port 7443.
18:30:46.577 INFO - Web Sockets port 8082.
18:30:46.587 INFO - Web SSL Sockets port 8081.`