You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Miller, William K - Norman, OK - Contractor" <Wi...@usps.gov.INVALID> on 2017/07/12 15:20:17 UTC

Enabling SSL

I am trying to enable SSL and I have followed the instructions in the Solr 6.4 reference manual, but when I restart my Solr server and try to access the Solr Admin page I am getting:

"This page isn't working";
<server name> sent an invalid response;
ERR_INVALID_HTTP_RESPONSE

Does the Solr server need to be on a secure server in order to enable SSL.


Additional Info:
Running Solr 6.5.1 on Linux OS




~~~~~~~~~~~~~~~~~~~~~~~
William Kevin Miller
[ecsLogo]
ECS Federal, Inc.
USPS/MTSC
(405) 573-2158


RE: Enabling SSL

Posted by "Miller, William K - Norman, OK - Contractor" <Wi...@usps.gov.INVALID>.
Thank you all for your responses.  I finally got it straightened out.  I had forgotten to change my url from http to https.  Dumb mistake on my part.  Consider this issue closed.




~~~~~~~~~~~~~~~~~~~~~~~
William Kevin Miller

ECS Federal, Inc.
USPS/MTSC
(405) 573-2158


-----Original Message-----
From: Nawab Zada Asad Iqbal [mailto:khichi@gmail.com] 
Sent: Wednesday, July 12, 2017 12:50 PM
To: solr-user@lucene.apache.org
Subject: Re: Enabling SSL

I guess your certificates are self generated?  In that case, this is a browser nanny trying to protect you.
I also get same error in Firefox, however Chrome was little forgiving. It showed me an option to choose my certificate (the client certificate), and then bypassed the safety barrier.
I should add that even Chrome didn't show me that 'select certificate'
option on the first attempt, so I don't know what caused it to trigger.

Here is a relevant thread about Firefox:
https://bugzilla.mozilla.org/show_bug.cgi?id=1255049


Let me know how it worked for you, as I am still learning this myself.


Regards
Nawab



On Wed, Jul 12, 2017 at 9:05 AM, Miller, William K - Norman, OK - Contractor <Wi...@usps.gov.invalid> wrote:

> I am not using Zookeeper.  Is the urlScheme also used outside of Zookeeper?
>
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~
> William Kevin Miller
>
> ECS Federal, Inc.
> USPS/MTSC
> (405) 573-2158
>
>
> -----Original Message-----
> From: esther.quansah@lucidworks.com 
> [mailto:esther.quansah@lucidworks.com]
> Sent: Wednesday, July 12, 2017 10:58 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Enabling SSL
>
> Hi William,
>
> You should be able to navigate to https://local host:8983/solr (albeit 
> with your host:port) to access the admin UI, provided you updated the 
> urlScheme property in the Zookeeper cluster props.
>
> Did you complete that step?
>
> Esther
> Search Engineer
> Lucidworks
>
>
>
> > On Jul 12, 2017, at 08:20, Miller, William K - Norman, OK - 
> > Contractor <
> William.K.Miller@usps.gov.INVALID> wrote:
> >
> > I am trying to enable SSL and I have followed the instructions in 
> > the
> Solr 6.4 reference manual, but when I restart my Solr server and try 
> to access the Solr Admin page I am getting:
> >
> > “This page isn’t working”;
> > <server name> sent an invalid response; ERR_INVALID_HTTP_RESPONSE
> >
> > Does the Solr server need to be on a secure server in order to 
> > enable
> SSL.
> >
> >
> > Additional Info:
> > Running Solr 6.5.1 on Linux OS
> >
> >
> >
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~
> > William Kevin Miller
> >
> > ECS Federal, Inc.
> > USPS/MTSC
> > (405) 573-2158
> >
>

Re: Enabling SSL

Posted by Nawab Zada Asad Iqbal <kh...@gmail.com>.
I guess your certificates are self generated?  In that case, this is a
browser nanny trying to protect you.
I also get same error in Firefox, however Chrome was little forgiving. It
showed me an option to choose my certificate (the client certificate), and
then bypassed the safety barrier.
I should add that even Chrome didn't show me that 'select certificate'
option on the first attempt, so I don't know what caused it to trigger.

Here is a relevant thread about Firefox:
https://bugzilla.mozilla.org/show_bug.cgi?id=1255049


Let me know how it worked for you, as I am still learning this myself.


Regards
Nawab



On Wed, Jul 12, 2017 at 9:05 AM, Miller, William K - Norman, OK -
Contractor <Wi...@usps.gov.invalid> wrote:

> I am not using Zookeeper.  Is the urlScheme also used outside of Zookeeper?
>
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~
> William Kevin Miller
>
> ECS Federal, Inc.
> USPS/MTSC
> (405) 573-2158
>
>
> -----Original Message-----
> From: esther.quansah@lucidworks.com [mailto:esther.quansah@lucidworks.com]
> Sent: Wednesday, July 12, 2017 10:58 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Enabling SSL
>
> Hi William,
>
> You should be able to navigate to https://local host:8983/solr (albeit
> with your host:port) to access the admin UI, provided you updated the
> urlScheme property in the Zookeeper cluster props.
>
> Did you complete that step?
>
> Esther
> Search Engineer
> Lucidworks
>
>
>
> > On Jul 12, 2017, at 08:20, Miller, William K - Norman, OK - Contractor <
> William.K.Miller@usps.gov.INVALID> wrote:
> >
> > I am trying to enable SSL and I have followed the instructions in the
> Solr 6.4 reference manual, but when I restart my Solr server and try to
> access the Solr Admin page I am getting:
> >
> > “This page isn’t working”;
> > <server name> sent an invalid response; ERR_INVALID_HTTP_RESPONSE
> >
> > Does the Solr server need to be on a secure server in order to enable
> SSL.
> >
> >
> > Additional Info:
> > Running Solr 6.5.1 on Linux OS
> >
> >
> >
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~
> > William Kevin Miller
> >
> > ECS Federal, Inc.
> > USPS/MTSC
> > (405) 573-2158
> >
>

RE: Enabling SSL

Posted by "Miller, William K - Norman, OK - Contractor" <Wi...@usps.gov.INVALID>.
I am not using Zookeeper.  Is the urlScheme also used outside of Zookeeper?




~~~~~~~~~~~~~~~~~~~~~~~
William Kevin Miller

ECS Federal, Inc.
USPS/MTSC
(405) 573-2158


-----Original Message-----
From: esther.quansah@lucidworks.com [mailto:esther.quansah@lucidworks.com] 
Sent: Wednesday, July 12, 2017 10:58 AM
To: solr-user@lucene.apache.org
Subject: Re: Enabling SSL

Hi William,

You should be able to navigate to https://local host:8983/solr (albeit with your host:port) to access the admin UI, provided you updated the urlScheme property in the Zookeeper cluster props. 

Did you complete that step?

Esther
Search Engineer
Lucidworks 



> On Jul 12, 2017, at 08:20, Miller, William K - Norman, OK - Contractor <Wi...@usps.gov.INVALID> wrote:
> 
> I am trying to enable SSL and I have followed the instructions in the Solr 6.4 reference manual, but when I restart my Solr server and try to access the Solr Admin page I am getting:
>  
> “This page isn’t working”;
> <server name> sent an invalid response; ERR_INVALID_HTTP_RESPONSE
>  
> Does the Solr server need to be on a secure server in order to enable SSL.
>  
>  
> Additional Info:
> Running Solr 6.5.1 on Linux OS
>  
>  
>  
>  
> ~~~~~~~~~~~~~~~~~~~~~~~
> William Kevin Miller
> 
> ECS Federal, Inc.
> USPS/MTSC
> (405) 573-2158
>  

Re: Enabling SSL

Posted by es...@lucidworks.com.
Hi William,

You should be able to navigate to https://local host:8983/solr (albeit with your host:port) to access the admin UI, provided you updated the urlScheme property in the Zookeeper cluster props. 

Did you complete that step?

Esther
Search Engineer
Lucidworks 



> On Jul 12, 2017, at 08:20, Miller, William K - Norman, OK - Contractor <Wi...@usps.gov.INVALID> wrote:
> 
> I am trying to enable SSL and I have followed the instructions in the Solr 6.4 reference manual, but when I restart my Solr server and try to access the Solr Admin page I am getting:
>  
> “This page isn’t working”;
> <server name> sent an invalid response;
> ERR_INVALID_HTTP_RESPONSE
>  
> Does the Solr server need to be on a secure server in order to enable SSL.
>  
>  
> Additional Info:
> Running Solr 6.5.1 on Linux OS
>  
>  
>  
>  
> ~~~~~~~~~~~~~~~~~~~~~~~
> William Kevin Miller
> 
> ECS Federal, Inc.
> USPS/MTSC
> (405) 573-2158
>