Skip to content

Commit

Permalink
[8.x] [DOCS] Clarify ServiceNow connector RSA key examples (elastic#2…
Browse files Browse the repository at this point in the history
…06517) (elastic#206613)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[DOCS] Clarify ServiceNow connector RSA key examples
(elastic#206517)](elastic#206517)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-14T15:43:00Z","message":"[DOCS]
Clarify ServiceNow connector RSA key examples
(elastic#206517)","sha":"0d7f29c8388211b5c2dd57120ce64aec854a8d28","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v9.0.0","docs","Feature:Actions/ConnectorTypes","backport:all-open"],"title":"[DOCS]
Clarify ServiceNow connector RSA key
examples","number":206517,"url":"https://github.com/elastic/kibana/pull/206517","mergeCommit":{"message":"[DOCS]
Clarify ServiceNow connector RSA key examples
(elastic#206517)","sha":"0d7f29c8388211b5c2dd57120ce64aec854a8d28"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/206517","number":206517,"mergeCommit":{"message":"[DOCS]
Clarify ServiceNow connector RSA key examples
(elastic#206517)","sha":"0d7f29c8388211b5c2dd57120ce64aec854a8d28"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <[email protected]>
  • Loading branch information
kibanamachine and lcawl authored Jan 14, 2025
1 parent 7c565d2 commit 1f7a42a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/management/connectors/action-types/servicenow.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -239,15 +239,22 @@ This step is required to use OAuth for authentication between Elastic and {sn}.
// tag::servicenow-rsa-key[]
*Create an RSA keypair:*

. Use https://www.openssl.org/docs/man1.0.2/man1/genrsa.html[OpenSSL] to generate an RSA private key:
. Use https://www.openssl.org/docs/man1.0.2/man1/genrsa.html[OpenSSL] to generate an RSA private key.
** To create a private key with a password, use the `passout` option. For example:
+
--
[source,sh]
----
openssl genrsa -passout pass:foobar -out example-private-key-with-password.pem 3072
----
--
** To create a private key without a password, omit the `passout` option. For example:
+
--
[source,sh]
----
openssl genrsa -out example-private-key.pem 3072
openssl genrsa -passout pass:foobar -out example-private-key-with-password.pem 3072 <1>
----
<1> Use the `passout` option to set a password on your private key. This is optional but remember your password if you set one.
--

. Use https://www.openssl.org/docs/man1.0.2/man1/req.html[OpenSSL] to generate the matching public key:
Expand Down

0 comments on commit 1f7a42a

Please sign in to comment.