Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: FREEBOX_CA_BUNDLE is not a list of valid PEM CA certificate #9

Open
ced30fr opened this issue Apr 15, 2024 · 2 comments
Open

Comments

@ced30fr
Copy link

ced30fr commented Apr 15, 2024

In freebox delta on VM Homeassistant :

source ./fbx-delta-nba_bash_api.sh
mktemp: Invalid argument
./fbx-delta-nba_bash_api.sh:291: no such file or directory:
./fbx-delta-nba_bash_api.sh:292: command not found: file

ERROR: FREEBOX_CA_BUNDLE is not a list of valid PEM CA certificate

WARNING: fbx-delta-nba_bash_api.sh library will fallback to insecure TLS !

@nbanb
Copy link
Collaborator

nbanb commented Aug 25, 2024

Hi

Sorry, as the source had not been merged since my last commit on my forked repository, I have not seen your case before today.
Please next time open your case directly on :
https://github.com/nbanb/fbx-delta-nba_bash_api.sh/issues

I will have a look in the issue, but it would be easier to following the case at https://github.com/nbanb/fbx-delta-nba_bash_api.sh/issues
(I will be noticed...)

NB: if you're on a local Network with trusted computer and source, you can ignore the TLS issue, TLS will work BUT certificate would not be validated.

Kind regards
nbanba

@nbanb
Copy link
Collaborator

nbanb commented Oct 24, 2024

Hi

OK, you didn't migrate the issue at a place where I can easily follow it, but as I'm the actual maintainer of the code, I'm going back here to answer:

First for making work the project, I recommand you to see External tools

Second, I'm sorry but I did not specify that standard packages like GNU Coreutils and util-linux (or similar under other UNIX systems including MACOSX) are also needed, but I think it would be difficult to use a unix or a linux system without those tools

The error message show that you must have file command on the system (please install it !)

I did not specify file command in the list of tools needed to use this project because it's written in file command manpage that every UNIX like machine since 1973 are including a file command ... (Research v4 was Unix before SystemV !)

Extract from : man --locale=us file
image

I will see to add a note in the README.md for HomeAssistant users

Please let me know if you were able to use the library after installing 'file' command on your HA system.
Also, please use the last version of the library which you can download here: fbx-delta-nba_bash_api.sh

Kind regards
nbanba

nbanb added a commit to nbanb/fbx-delta-nba_bash_api.sh that referenced this issue Oct 24, 2024
Fixing  [issue#9](freeboxos#9) :
Adding check of `file` command and of `mktemp` command (from GNU coreutils) as they are not installed by default on all distribution 
Updating "External tools" table of README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants