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

Feature/agent auth cert key #98

Merged
merged 2 commits into from
Jan 14, 2019

Conversation

LuisGi93
Copy link
Contributor

@LuisGi93 LuisGi93 commented Dec 27, 2018

This PR was made by @brettmiller - #70. Because of conflicts a new PR was needed.
It allows to define the content of the agent.cert and the agent.key at the Wazuh agent so it is possible to verify the agent using SSL .

In order to try the changes that includes this PR a manifest need to be defined specifying the content of the agent.cert and agent.key:

node "debian-n" {

  class { "wazuh::client":
    ossec_server_ip => "x.x.y.y",
    wazuh_manager_root_ca_pem =>'-----BEGIN CERTIFICATE-----
    MIIDKzCCAhOgAwIBAgIJAIrW2nHTFcjWMA0GCSqGSIb3DQEBCwUAMCwxCzAJBgNV
    -----END CERTIFICATE-----
    ',
    wazuh_agent_key_content =>'-----BEGIN PRIVATE KEY-----
    MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC/heNpsQXGmOzG
    -----END PRIVATE KEY-----
    ',
    wazuh_agent_cert_content =>'-----BEGIN CERTIFICATE-----
    MIIC7TCCAdUCCQDegENY9CSgyjANBgkqhkiG9w0BAQsFADAsMQswCQYDVQQGEwJV
    -----END CERTIFICATE-----
    ',
  }

}

@jesuslinares jesuslinares changed the base branch from 3.7 to 3.8 January 14, 2019 09:15
@jesuslinares jesuslinares merged commit ed8313b into 3.8 Jan 14, 2019
@jesuslinares jesuslinares deleted the vitalsource-feature/agent-auth_cert_key branch January 14, 2019 09:15
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

Successfully merging this pull request may close these issues.

2 participants