Something I still don't quite understand, Re: Let's Encrypt with Tomcat behind httpd

2020-08-18 Thread James H. H. Lampert
Something just worked, that I wasn't expecting to work. Or rather, I was expecting it to work, but kill cert renewal. The port 80 virtual host had RewriteEngine on RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] which I commented out,

Re: Login appears only once : solved

2020-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anwar, On 8/18/20 17:42, Anwar AliKhan wrote: > It came down to browser privacy and security settings. Cleared all > previous cookies and blocked third party cookies. Now Login appears > every time in Google chrome. None of that is necessary.

Re: Tomcat Handling close_waits

2020-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Norbert, On 8/16/20 13:16, Norbert Elbanbuena wrote: > I also noticed that while server receives the connection requests, > we are seeing multiple requests from the same sources. Some same > source requests (FIN-WAIT) are all in state while other

Re: getting web application version string?

2020-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jason, On 8/16/20 12:16, Jason Pyeron wrote: > Is there a better way than this? Yes. > Specifically - detect running Tomcat, then if under Tomcat (today > only interested in v7 and v9) obtain the version string as > described [1] and shown on the

Re: Tomcat 9 and FIPS-140

2020-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Robert, On 8/18/20 16:19, Robert Hicks wrote: > Is this article good for enabling FIPS-140 for Tomcat 9? [citation needed] - -chris -BEGIN PGP SIGNATURE- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

Re: Login appears only once

2020-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anwar, On 8/18/20 14:45, Anwar AliKhan wrote: > I rebooted the machine , then the login box appeared . Obviously > this is not an ideal solution! Which machine did you reboot? The Tomcat server or your own client (browser)? Neither was necessary

Re: Tomcat behind httpd, with Let's Encrypt and Certbot

2020-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/17/20 03:50, Mark Thomas wrote: > On 16/08/2020 18:00, James H. H. Lampert wrote: >> Permit me to clarify: >> >> 1. The existing httpd server on this box, and its certbot setup >> may be extended/expanded, but not otherwise disturbed. >>

Re: Tomcat behind httpd, with Let's Encrypt and Certbot

2020-08-18 Thread James H. H. Lampert
Well, today, I brought the Tomcat server back up, and put the Virtual Host back into conf.d, and it worked. Then I learned that my whole silly-go-round of a few months ago, trying to add the new subdomain to the existing certs, was completely unnecessary, that each subdomain's virtual host

Re: Login appears only once : solved

2020-08-18 Thread Anwar AliKhan
It came down to browser privacy and security settings. Cleared all previous cookies and blocked third party cookies. Now Login appears every time in Google chrome. On Tue, 18 Aug 2020, 22:13 Anwar AliKhan, wrote: > I have rebooted. > Startup.sh > > Same tomcat-users.xml no other changes . > >

Re: Login appears only once

2020-08-18 Thread Anwar AliKhan
I have rebooted. Startup.sh Same tomcat-users.xml no other changes . With manager button chrome going straight to 401. With Firefox manager button - login box appears works with username tomgui password tomcat as expected. On Tue, 18 Aug 2020, 21:55 Anwar AliKhan, wrote: > > *With

Re: Login appears only once

2020-08-18 Thread Anwar AliKhan
*With this tomcat-users.xml* *Test*curl -u tomcat:tomcat http://localhost:8080/host-manager/text/list *Result*: OK - Listed hosts [localhost]:[] I make same username and password for both admin-script & manager-gui *Test*curl -u tomcat:tomcat

Re: Login appears only once

2020-08-18 Thread Anwar AliKhan
*This works* curl -u tomcat:tomcat http://localhost:8080/host-manager/text/list OK - Listed hosts [localhost]:[] I have rebooted and restarted the browser. *BUT with the same tomcat-users.xml * *It is now going straight to 401.* *with all three URL* *http://localhost:8080/manager/status

Tomcat 9 and FIPS-140

2020-08-18 Thread Robert Hicks
Is this article good for enabling FIPS-140 for Tomcat 9? Thanks, Bob

RE: Login appears only once

2020-08-18 Thread jonmcalexander
I was going to say it sounds like a persistent cookie... Dream * Excel * Explore * Inspire Jon McAlexander Asst Vice President Middleware Product Engineering Enterprise CIO | Platform Services | Middleware | Infrastructure Solutions 8080 Cobblestone Rd | Urbandale, IA 50322 MAC: F4469-010 Tel

Re: Login appears only once

2020-08-18 Thread Mark Thomas
On 18/08/2020 19:45, Anwar AliKhan wrote: > I rebooted the machine , then the login box appeared . > Obviously this is not an ideal solution! Did you close the browser between tests? Mark > On Tue, 18 Aug 2020, 19:07 Anwar AliKhan, wrote: > >> Hi, >> I deployed an app called tomee using the

Re: Login appears only once

2020-08-18 Thread Anwar AliKhan
I rebooted the machine , then the login box appeared . Obviously this is not an ideal solution! On Tue, 18 Aug 2020, 19:07 Anwar AliKhan, wrote: > Hi, > I deployed an app called tomee using the tomcat manager app. > > The first time I selected the app in the tomcat manager to run it. > a

Login appears only once

2020-08-18 Thread Anwar AliKhan
Hi, I deployed an app called tomee using the tomcat manager app. The first time I selected the app in the tomcat manager to run it. a login appeared asking for username and password. I had not set it up. So it took me to the 403 page . Now I have set up tomee-admin user. I stopped restarted