java - How can I fix FileNotFoundException exception if the file is already there? -


i created .jks file command

keytool -genkey -alias teamcity -keyalg rsa -keystore keystoretc.jks -keysize 2048 

after moved .jsk file directory receiving error

failed load keystore type jks path file:///c:/integrationproces/teamcitydeploy/keystoretc.jks due c:\integrationproces\teamcitydeploy\keystoretc.jks (the system cannot find path specified) java.io.filenotfoundexception: c:\integrationproces\teamcitydeploy\keystoretc.jks (the system cannot find path specified)

the file in directory have no idea why java.io.filenotfoundexception exception

i using catalina(tomcat) , teamcity , trying enable https , configuration in server.xml

<connector port="8099" protocol="org.apache.coyote.http11.http11nioprotocol"     sslenabled="true"    maxthreads="150" scheme="https" secure="true"    clientauth="false" sslprotocol="tls"    keystorefile="file:///c:/integrationproces/teamcitydeploy/keystoretc.jks"    keystorepass="mypass" /> 

i commented line of code in server.xml recommendation found in forum

<listener classname="org.apache.catalina.core.aprlifecyclelistener" sslengine="on" /> 

i appreciate help


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -