Highlighted
smammxconsultor Respected Contributor.
Respected Contributor.
1034 views

Error in encryption of passwords to cofigure AM package properties

Jump to solution

Hello experts

I have a issue with the encryption method, after run the next command in the command prompt

C:\Program Files (x86)\HP\Asset Manager 9.50 en\websvc\password>"C:\Program Files\Java\jdk1.8.0_74"\bin\java.exe -jar am-pwd-crypt-95.jar <pass to encrypt>

I receive the following error

no main manifest attribute, in am-pwd-crypt-95.jar

And the password does not encrypted

Do you have any suggestion to fix this?

Thanks in advance

0 Likes
1 Solution

Accepted Solutions
Acclaimed Contributor.. Mark Cullen_1 Acclaimed Contributor..
Acclaimed Contributor..

Re: Error in encryption of passwords to cofigure AM package properties

Jump to solution

Set the package properties to "promptForPwd=true" then supply the unencrypted pwd during deployment command.

 

View solution in original post

0 Likes
5 Replies
Acclaimed Contributor.. Mark Cullen_1 Acclaimed Contributor..
Acclaimed Contributor..

Re: Error in encryption of passwords to cofigure AM package properties

Jump to solution

Set the package properties to "promptForPwd=true" then supply the unencrypted pwd during deployment command.

 

View solution in original post

0 Likes
smammxconsultor Respected Contributor.
Respected Contributor.

Re: Error in encryption of passwords to cofigure AM package properties

Jump to solution

Thanks Mark

I will do that and later I will send to you the results

Thanks again

0 Likes
Abhi1 Valued Contributor.
Valued Contributor.

Re: Error in encryption of passwords to cofigure AM package properties

Jump to solution

Hi 

I have facing the similar issue

"no main manifest attribute, in am-pwd-crypt-95.jar"

As suggestted above I have made changes to in websvc/package.properties file.

promptForPwd=true

Still facing the issue

Thanks

0 Likes
Acclaimed Contributor.. Mark Cullen_1 Acclaimed Contributor..
Acclaimed Contributor..

Re: Error in encryption of passwords to cofigure AM package properties

Jump to solution

Misc. thoughts...

Did you execute "C:\Program Files (x86)\HP\Asset Manager 9.50 en\deploy\generate-password.bat"

Manifest in the error message could be related with manifest.classpath Note: This parameter is only relevant for deployments where your application server is WebSphere or WebLogic. Additional file references to the Java classpath. (These files should be added to the .ear file via the addl.files parameter)

0 Likes
Abhi1 Valued Contributor.
Valued Contributor.

Re: Error in encryption of passwords to cofigure AM package properties

Jump to solution

HI Mark,

I have not found the generate-password.bat file under deploy folder.

web server : apache tomcat 

 

Thanks

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.