I am securing a standalone Solr 8.11.1 instance on Arch Linux.

The instructions at

  https://solr.apache.org/guide/8_11/enabling-ssl.html

are incomplete, in that I cannot import the certificate to the Java Trust Store.

  $ solr status
    Found 1 Solr nodes:

    Solr process 1729782 running on port 8983

    INFO  - 2022-04-16 12:01:09.124; 
org.apache.solr.util.configuration.SSLConfigurations; \
      Setting javax.net.ssl.keyStorePassword

    ERROR: Failed to get system information from https://localhost:8983/solr 
due to: \
      javax.net.ssl.SSLException: Unexpected error: 
java.security.InvalidAlgorithmParameterException: \
      the trustAnchors parameter must be non-empty
  $

Can someone post the commands, and settings in

  solr.in.sh
  solr-ssl.xml
  solr.*.pem    ## includes private key, or only certificate?

and any other suggestions?

I am getting keytool errors of the type:

  keytool error: java.lang.Exception: Input not an X.509 certificate

==============================================================================

Reply via email to