Question

An error has occurred while executing mtinstaller remote deploying IFSCLOUD

  • 14 December 2022
  • 5 replies
  • 178 views

Userlevel 1
Badge +6

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
[Wed 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)
[Wed Dec 14 12:43:39 UTC 2022] - INFO: Generating symmetric-key. This will only be persisted if the secret, 'symmetric-key' does not exist.
[Wed Dec 14 12:43:41 UTC 2022] - INFO: Installing ifs-cloud
[Wed Dec 14 12:43:41 UTC 2022] - INFO: Using chart ifscloud/ifs-cloud --version 222.0.0
[Wed Dec 14 12:43:41 UTC 2022] - INFO: Doing a dry-run ..
[Wed Dec 14 12:43:41 UTC 2022] - INFO: Running helm upgrade
[Wed 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
[Wed Dec 14 12:43:41 UTC 2022] - SEVERE: Failed to install ifs-cloud
[Wed 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: [debug] getting history for release ifs-cloud
Release "ifs-cloud" does not exist. Installing it now.
install.go:172: [debug] Original chart version: "222.0.0"
install.go:189: [debug] 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: [debug] execution error at (ifs-cloud/charts/ifscore/templates/secrets.yaml:12:18): Value for tls.cert is required
SEVERE: Failed to install ifs-cloud

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

 


5 replies

Userlevel 2
Badge +8

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 

Userlevel 1
Badge +6

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

Userlevel 2
Badge +8

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?

Userlevel 1
Badge +6

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

Userlevel 5
Badge +14

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