You need to read and follow that guide that you linked. It gives very explicit instructions:
In a development environment (do not use this in production), you can use they they
keytoolcommand to create a self-signed certificate and add it to a keystore for use with a server running onlocalhost:
keytool -genkey -alias server-alias -keyalg RSA \ -storepass changeme -keypass changeme -keystore keystore.jks \ -dname 'CN=localhost, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown'Note that the values used in
-keypass changemeand-storepass changemecorrespond directly to the values that must be set forent_search.ssl.keystore.key_passwordandent_search.ssl.keystore.password, respectively.
If you're not familiar with the terminology, you may first want to read up on SSL/TLS, Certificates/Keys, and Certificate Authorities: