• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

SSL Certificate  RSS feed

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to install an SSL certificate in tomcat 8.5.  
I keep getting the following error: " java.lang.IllegalArgumentException: Illegal character in opaque part at index 2: C:\Windows\system32\config\systemprofile/.keystore".
I do not reference "C:\Windows\system32\config\systemprofile/.keystore" anywhere.  Even if I change the "server.xml" file to point to a keystore that does not exist I am still getting the same error.  I have attached the "server.xml" and the tomcat log.
Any help would be greatly appreciated.




Thanks,

Joseph
 
Saloon Keeper
Posts: 2504
321
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems like the attachments did make it.  Maybe just embed the contents of the files in a post using Code Tags.  If the log file is long, trim it down to include what is relevant.

 
Joe Walt
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
server.xml


tomcat log

 
Ron McLeod
Saloon Keeper
Posts: 2504
321
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like there maybe two issues:
   - the attribute name is keystoreFile, not keystorefile (this matters on Linux, not sure about Windows)
   - it appears like the attribute value is being parsed as a URI - trying specifying file:///C:/Users/jitadmin/TestKeyStore.jks

keystoreFile="file:///C:/Users/jitadmin/TestKeyStore.jks"
 
Without subsidies, chem-ag food costs four times more than organic. Or this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!