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

default _system_ca_path won't work on FreeBSD and change not taken into account #6

Open
p4tpr0 opened this issue Jun 8, 2018 · 1 comment

Comments

@p4tpr0
Copy link

p4tpr0 commented Jun 8, 2018

The default value for _system_ca_path set in src/init is not right for FreeBSD. Changing this value with another path is not taken into account because code has hard-coded values:

$ sslmerge -i foobar.crt -o foobar-full.crt find: /etc/ssl/certs/: No such file or directory sed: 1: "$a-----END CERTIFICATE- ...": command a expects \ followed by text [!] bad certificate (maybe broken): foobar.crt

More importantly, upon error, the certificate file used as input is cleared (content erased).

@trimstray
Copy link
Owner

Great job!

I create environment on freebsd and I will try to generate this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants