Skip to content

[Bug]: Smallstep CLI not working in arm64 (android, Termux) #766

@edwinclement08

Description

@edwinclement08

Steps to Reproduce

Get the latest binary for linux from github releases(doesn't work both on stable and Release candidates)

Try to bootstrap with CA

Your Environment

  • OS - Termux Android Linux Shell
  • step CLI Version - Smallstep CLI/0.23.0-rc.1 (linux/arm64)

Expected Behavior

Step Cli bootstraps successfully

Actual Behavior

Get this error instead

error downloading root certificate: client.Root; client GET https://ca.example.com:8443/root/43193c1a62bb72666d0c2e602a3f9eec7b0a97d699b4057d4483d204a0278bf9 failed: Get "https://ca.example.com:8443/root/43193c1a62bb72666d0c2e602a3f9eec7b0a97d699b4057d4483d204a0278bf9": dial tcp: lookup ca.example.com on [::1]:53: read udp [::1]:43512->[::1]:53: read: connection refused

Attaching a full log file with STEPDEBUG=1 active
smallstep-debug.log

Additional Context

I also tried the armv7 binary with similar parameters and got the same result.

I verified that the bootstrapping works on other x86 machines. I also checked if the CA health check URL is accessible from the android device.
Also verified that the URL https://ca.example.com:8443/root/43193c1a62bb72666d0c2e602a3f9eec7b0a97d699b4057d4483d204a0278bf9 is accessible, though, we do get the untrusted warning error.

I am not trying to use Step CA as a TLS/SSL CA, but as an SSH CA. I don't care if the --install option does not work through the Termux environ. I desire to be able to ssh into my machines from my android device and run some scripts.

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions