Skip to content

SSL/TLS Support? #50

Open
Open
@maikelnight

Description

@maikelnight

I try to get i working with ssl but fail.

Without ssl (works if mongodb server is set to "allowSSL", what means that the output do not use ssl!):

output {
if [type] == "mytype" {
mongodb {
uri => "mongodb://myserver/"
database => "mydatabase"
collection => "mycollection"
id => "myid"
}
}
}

What i tried....
With ssl (mongodb server is set to "requireSSL", what means no ssl no data....):

output {
if [type] == "mytype" {
mongodb {
uri => "mongodb://myserver/mydatabase?ssl=true"
database => "mydatabase"
collection => "mycollection"
id => "myid"
}
}
}

That doesnt work and in mongodb log i see that the server tells "requires ssl".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions