feat: added options for static-ip & custom root CA#1324
feat: added options for static-ip & custom root CA#1324normanre wants to merge 3 commits intohetznercloud:mainfrom
Conversation
|
|
|
You might also be able to leverage SSL_CERT_DIR or SSL_CERT_FILE to set custom root CAs. |
|
Yeah this is correct normally. But when using Secondly, the root ca also does not work, because the android system certificates are not correctly exposed to the Termux shell or at least using go. And without a rooted phone you cannot installed locally. Therefore a root CA has to be set another way. I did not know about the SSL_CERT_FILE option and will try it if it works. If so, I will revert the --root-ca parameter. |
|
Where did you install Termux already offers an unofficial hcloud build that should work with their distro: Their build does not set |
|
OMG. I just installed the binary straight. Sorry, for the disturbance. |
Hello everyone,
I added these two options to configure a http.Client for the cli:
I did this because DNS and certificates resolution does not work as expected on Termux for Android. With these two additions this cli can be used for Android.
One quirk with Termux is that
export HCLOUD_CONFIG="$HOME/.config/hcloud/cli.toml"has to be set (for example in .bashrc)I hope this helps also someone else.