Skip to main content

Hi Guys,

When we try to install the Middle tier we get the below error,
 

 

 

 

>Wed Dec 14 12:43:38 UTC 2022] - WARNING: Deleting keystore with conflicting name
rWed Dec 14 12:43:39 UTC 2022] - SEVERE: Unable to handle certificates. java.io.FileNotFoundException: C:\ifsroot\config\certs\IFS.pfx (The system cannot find the file specified)
rWed Dec 14 12:43:39 UTC 2022] - INFO: Generating symmetric-key. This will only be persisted if the secret, 'symmetric-key' does not exist.
rWed Dec 14 12:43:41 UTC 2022] - INFO: Installing ifs-cloud
rWed Dec 14 12:43:41 UTC 2022] - INFO: Using chart ifscloud/ifs-cloud --version 222.0.0
rWed Dec 14 12:43:41 UTC 2022] - INFO: Doing a dry-run ..
rWed Dec 14 12:43:41 UTC 2022] - INFO: Running helm upgrade
rWed Dec 14 12:43:41 UTC 2022] - SEVERE: execution error at (ifs-cloud/charts/ifscore/templates/secrets.yaml:12:18): Value for tls.cert is required
rWed Dec 14 12:43:41 UTC 2022] - SEVERE: Failed to install ifs-cloud
rWed Dec 14 12:43:41 UTC 2022] - SEVERE: Failed to install ifs-cloud. Collected logs from command:
"ifscloud" has been added to your repositories
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "ifscloud" chart repository
Update Complete. ΓÄêHappy Helming!ΓÄê
INFO: Installing ifs-cloud
INFO: Using chart ifscloud/ifs-cloud --version 222.0.0
INFO: Doing a dry-run ..
INFO: Running helm upgrade
history.go:53: rdebug] getting history for release ifs-cloud
Release "ifs-cloud" does not exist. Installing it now.
install.go:172: ldebug] Original chart version: "222.0.0"
install.go:189: ldebug] CHART PATH: C:\Users\azure\AppData\Local\Temp\2\helm\repository\ifs-cloud-222.0.0.tgz

Error: execution error at (ifs-cloud/charts/ifscore/templates/secrets.yaml:12:18): Value for tls.cert is required
helm.go:94: ldebug] execution error at (ifs-cloud/charts/ifscore/templates/secrets.yaml:12:18): Value for tls.cert is required
SEVERE: Failed to install ifs-cloud

oWed Dec 14 12:43:41 UTC 2022] - SEVERE: Validation failed.

 

Do you have the certificate specified in your ifscloud-values.yaml file?

certificateFile: C:\ifsroot\config\certs\IFS.pfx
certificatePassword: :pfx cert password]

I think it needs one for the domain you are publishing the middleware to i.e. ifscloud.yourdomain.com

Thanks,

Alex 


Do you have the certificate specified in your ifscloud-values.yaml file?

certificateFile: C:\ifsroot\config\certs\IFS.pfx
certificatePassword: :pfx cert password]

I think it needs one for the domain you are publishing the middleware to i.e. ifscloud.yourdomain.com

Thanks,

Alex 

Hi @PROAHAR 

I’m using self-sign cert option which should be created by Middleware tier installation process


It is looking for this certificate:

java.io.FileNotFoundException: C:\ifsroot\config\certs\IFS.pfx (The system cannot find the file specified)

Is it in the ifsroot folder?


It is looking for this certificate:

java.io.FileNotFoundException: C:\ifsroot\config\certs\IFS.pfx (The system cannot find the file specified)

Is it in the ifsroot folder?

@PROAHAR 

No


Dear @mihiran.p 

Normally the information about the certificate are to be found in the cloudvalues.yaml file

https://docs.ifs.com/techdocs/22r2/070_remote_deploy/010_installing_fresh_system/200_installing_ifs_cloud/035_ifs_cloud_ifsinstaller/030_installation_parameters/

 

As the certificate parameters are optional, you can add information or skip them.

 

#chart: ifscloud/ifs-cloud#chartVersion: ~211.0.0helmRepo: https://ifscloud.jfrog.io/artifactory/helm/helmUser: ale-asgasghelmPwd: YasfasfasgaEGasgasgaegcertificateFile: ..\..\..\config\certs\example.pfxcertificatePassword: example

 

If you skip those parameters, due to self signing, you can remove both of those lines. That should help you.

 

In addition: Can you add some more information?
Have you already done an installation on the system? Removed it afterwards and tried to install it again?
Which version are you trying to install?

Would you mind adding the yaml file to this post?

Kind regards and a happy new year,

Tobias


Reply