Re: SSLLabs scan shows TLSv1.0 and TLSv1.1 even though I have sslProtocol="TLSv1.2"

2022-08-09 Thread Shawn Heisey
On 8/9/22 16:13, James H. H. Lampert wrote: On customer box #1, I have: protocol="org.apache.coyote.http11.Http11Protocol" address=""    maxThreads="400" SSLEnabled="true" scheme="https" secure="true"    keystoreFile="/tomcat/wttomcat.ks" keyAlias=""

SSLLabs scan shows TLSv1.0 and TLSv1.1 even though I have sslProtocol="TLSv1.2"

2022-08-09 Thread James H. H. Lampert
I think this may have come up before, but I don't recall how it was resolved. On customer box #1, I have: address="" maxThreads="400" SSLEnabled="true" scheme="https" secure="true" keystoreFile="/tomcat/wttomcat.ks" keyAlias=""

Re: End user files uploaded to sftp getting stored in tomcat root directory

2022-08-09 Thread Farash Ahamad
Much appreciated your detailed response Chris, I’ll investigate upon these points and try to discuss with the developer. Thanks once again.!! On Tue, 9 Aug 2022 at 5:20 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Farash, > > On 8/9/22 09:23, Farash Ahamad wrote: > > Hi

Re: End user files uploaded to sftp getting stored in tomcat root directory

2022-08-09 Thread Christopher Schultz
Farash, On 8/9/22 09:23, Farash Ahamad wrote: Hi Chris, There is an application portal running on tomcat used by many users, where they create profiles, upload documents, etc. When they upload the document via portal, the application pushes it to sftp on another server, but sometimes a copy is

Re: Error during startup

2022-08-09 Thread Han Li
> 2022年8月9日 21:05,Christopher Schultz 写道: > > Han, > > On 8/4/22 00:49, Han Li wrote: >> Hi Mohan, >> You can open CATALINA_BASE/conf/catalina.policy file, add following >> statement within “grant” section: >> permission java.lang.RuntimePermission "getenv.*"; > > > While this will likely

Re: End user files uploaded to sftp getting stored in tomcat root directory

2022-08-09 Thread Farash Ahamad
Hi Chris, There is an application portal running on tomcat used by many users, where they create profiles, upload documents, etc. When they upload the document via portal, the application pushes it to sftp on another server, but sometimes a copy is stored in the root directory tomcat server with

Re: End user files uploaded to sftp getting stored in tomcat root directory

2022-08-09 Thread Christopher Schultz
Farash, On 8/9/22 04:55, Farash Ahamad wrote: Just to add, the file is getting uploaded to SFTP server, but there is an exact copy in tomcat server as well. Can you give more details? Is a human user pushing via sftp to your Tomcat server? Or is your Tomcat-deployed application pushing via

Re: Error during startup

2022-08-09 Thread Christopher Schultz
Joey, On 8/8/22 09:21, Joey Cochran wrote: Make sure /bin/tomcat-juli.jar is set to 755 (chmod 755 tomcat-juli.jar) Nonsense. This would never cause a permissions problem as described by the OP. Also: 7 = owner read+write+execute 5 = group read+execute 5 = other read+execute NOBODY needs

Re: Error during startup

2022-08-09 Thread Christopher Schultz
Han, On 8/4/22 00:49, Han Li wrote: Hi Mohan, You can open CATALINA_BASE/conf/catalina.policy file, add following statement within “grant” section: permission java.lang.RuntimePermission "getenv.*"; While this will likely fix the "problem", it may not be the best solution. The OP is

Re: End user files uploaded to sftp getting stored in tomcat root directory

2022-08-09 Thread Farash Ahamad
Thanks Mark! Just to add, the file is getting uploaded to SFTP server, but there is an exact copy in tomcat server as well. On Tue, Aug 9, 2022 at 11:46 AM Mark Thomas wrote: > This will always be an application issue. > > Mark > > > On 09/08/2022 09:41, Farash Ahamad wrote: > > Dear All, > >

Re: End user files uploaded to sftp getting stored in tomcat root directory

2022-08-09 Thread Mark Thomas
This will always be an application issue. Mark On 09/08/2022 09:41, Farash Ahamad wrote: Dear All, I am observing there and several documents (pdf, png, jpeg, etc) which the end user uploads in the application getting stored in tomcat / directory. I would like to understand whether this is

End user files uploaded to sftp getting stored in tomcat root directory

2022-08-09 Thread Farash Ahamad
Dear All, I am observing there and several documents (pdf, png, jpeg, etc) which the end user uploads in the application getting stored in tomcat / directory. I would like to understand whether this is a bug in the application code or in tomcat. Application based on: Java Spring Boot 2.1.3