UPS CP1000AVRLCDa 更換電池
Introduction
繼 UPS CP1000AVRLCDa 微開箱 之後,電池過了五、六年開開始無法蓄電,原本不太確定是 UPS 電路的問題或電池的問題,但想了一下以 UPS 相對簡單的模組(電路板 + 電池 + 螢幕),通常會壞掉的應該是電池而不是電路板,因此決定嘗試看看先換電池看續電是否正常(如果換完一樣是壞的就算了)。
Create a Flask+uWSGI+Nginx Docker Image
Create a Private Docker Registry and Push/Pull Docker Images
Create a ASP.NET Core Docker Image
Ubuntu 24.04 OpenVPN Setup
OpenSSL Error 0A00018E SSL routines ca md too weak
Introduction
After enabling the OpenVPN server on an ASUS router, the exported client.ovpn file may trigger the following error in the OpenVPN client on Android:
1 | OpenSSL: error:0A00018E:SSL routines:SSL_CTX_use_certificate:ca md too weak |
This issue occurs because the CA certificate uses the SHA1 signature algorithm, which is outdated and considered insecure. Consequently, the OpenVPN client refuses to accept it.
There are two possible solutions:
- Insecure (Not Recommended): Allow weak CA certificates.
- Recommended: Renew the CA certificate using a stronger signature algorithm (e.g., SHA256 or higher).
Allowing weak certificates may expose your connection to man-in-the-middle (MITM) attacks or other vulnerabilities.
This guide walks you through the recommended solution.
Using rsync on Windows
Introduction
This guide shows you how to set up rsync on a Windows system by leveraging Git Bash from Git for Windows.rsync is a powerful file synchronization tool commonly used on Linux, but it can also work on Windows with a few manual steps.
No need to install WSL or Cygwin - just follow this lightweight and portable method.