Skip to content

Connect ES> Replace " with ' in certificate import #750

@YetAnotherGerrit

Description

@YetAnotherGerrit

https://docs.zammad.org/en/pre-release/install/elasticsearch/connect-configure-elasticsearch.html

Image

I had trouble in a workshop, I think it was Ubuntu 24.04. that bash did not like the ! in the command. We needed to use ' instead of " to quote the rails command.

sudo cat /etc/elasticsearch/certs/http_ca.crt | zammad run rails r "SSLCertificate.create!(certificate: STDIN.read)"

to

sudo cat /etc/elasticsearch/certs/http_ca.crt | zammad run rails r 'SSLCertificate.create!(certificate: STDIN.read)'

Please verify and maybe adjust.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions