Skip to content

Commit 3b5b196

Browse files
[Doc] ssl_key requires PKCS#8 format (#1181)
Co-authored-by: Edmo Vamerlatti Costa <[email protected]>
1 parent 1321073 commit 3b5b196

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 11.22.7
2+
- [DOC] `ssl_key` requires PKCS#8 format [#1181](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1181)
3+
14
## 11.22.6
25
- [DOC] Logstash output.elasticsearch index can be alias or datastream [#1179](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1179)
36

docs/index.asciidoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,15 @@ If no explicit protocol is specified plain HTTP will be used.
11011101
* Value type is <<path,path>>
11021102
* There is no default value for this setting.
11031103

1104-
OpenSSL-style RSA private key that corresponds to the <<plugins-{type}s-{plugin}-ssl_certificate>>.
1104+
SSL key to use.
1105+
This key must be in the PKCS8 format and PEM encoded.
1106+
You can use the https://www.openssl.org/docs/man1.1.1/man1/openssl-pkcs8.html[openssl pkcs8] command to complete the conversion.
1107+
For example, the command to convert a PEM encoded PKCS1 private key to a PEM encoded, non-encrypted PKCS8 key is:
1108+
1109+
[source,sh]
1110+
-----
1111+
openssl pkcs8 -inform PEM -in path/to/logstash.key -topk8 -nocrypt -outform PEM -out path/to/logstash.pkcs8.key
1112+
-----
11051113

11061114
NOTE: This setting can be used only if <<plugins-{type}s-{plugin}-ssl_certificate>> is set.
11071115

logstash-output-elasticsearch.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = 'logstash-output-elasticsearch'
3-
s.version = '11.22.6'
3+
s.version = '11.22.7'
44
s.licenses = ['apache-2.0']
55
s.summary = "Stores logs in Elasticsearch"
66
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"

0 commit comments

Comments
 (0)