mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[DOCS] Clarify ServiceNow connector RSA key examples (#206517)
This commit is contained in:
parent
e6e580e35f
commit
0d7f29c838
1 changed files with 10 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue