Skip to content

Add symmetric SSL encryption to AIX agent#118

Closed
mike1098 wants to merge 1 commit into
Checkmk:masterfrom
mike1098:aix-agent-ssl-support
Closed

Add symmetric SSL encryption to AIX agent#118
mike1098 wants to merge 1 commit into
Checkmk:masterfrom
mike1098:aix-agent-ssl-support

Conversation

@mike1098
Copy link
Copy Markdown
Contributor

exec > >() doesnt work in ksh, thats why we have to redirect to file and restore stdout as soon as agent is finished

exec > >() doenst work in ksh, thats why we have to redirect to file and restore stdout as soon as agent is finished
@rawiriblundell
Copy link
Copy Markdown
Contributor

Hi Mike! I don't have an AIX host available to test against, so I was wondering if you were able/willing if you could give this proposed agent a run and let me know if you find any problems:

https://github.com/rawiriblundell/checkMK/blob/merged_nix_agent/agents/check_mk_agent.merged

(This is PR #28 )

Thanks either way

@jonaskluger
Copy link
Copy Markdown
Contributor

Hello Mike,

thank you for this pull request. We will have a closer look at your patch and discuss internally on how and if we can implement it into the official code base.

Internal Ref: CMK-3705

Comment thread agents/check_mk_agent.aix
else
exec 1>&6 6>&-
printf "00"
openssl enc -aes-256-cbc -md md5 -k "$PASSPHRASE" -nosalt
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the "-in /tmp/agent_out" also not required here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks like I missed that. Feel free to add.

@Titan-C Titan-C closed this Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants