• 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
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

SSL Certificate

 
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: 2722
354
Android Eclipse IDE Angular Framework MySQL Database TypeScript Redhat Java Linux
  • 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: 2722
354
Android Eclipse IDE Angular Framework MySQL Database TypeScript Redhat Java Linux
  • 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"
 
Don't MAKE me come back there with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!