Summary
Error
After upgrade from DP 10.02 to DP 10.03.
Attempt login to Data Protecor's gui fails with : "User Authentication failed"
Also the user migration failed during upgrade.
Manual attempt to migrate users also failed:
perl.exe" "C:\Program Files\OmniBack\bin\userMigrate.pl"Attempt
From <Programdata>\omniback\log\Appserver.log many messages like:
WARN [com.hp.im.jce.serviceregistry.ServiceRegistrationHandler] (Timer-6) Failed to register service ServiceDescription [id=null, name=dp-loginprovider, version=1.1.0, properties=null, url=https://hostname.domain.xyz:7116/dp-loginprovider/restws, expiresAt=null]: java.lang.NullPointerException
Cause
certificate regen was needed
Fix
Performed steps :
Lookup in <Programdata>\omniback\config\client\components\webserver.properties file the keystorePassword
Rename :
- Rename “cacerts†file located in folder “C:\Program Files\OmniBack\jre\lib\security†or “/opt/omni/jre/lib/securityâ€
- Rename “ascert.crt†file located in folder “C:\ProgramData\OmniBack\Config\server\AppServer†or “/etc/opt/omni/server/AppServerâ€
- Rename “server.keystore/.truststore†file located in folder “C:\ProgramData\OmniBack\Config\Server\certificates\serverâ€
- Rename “client.keystore/.trustore†file located in folder “C:\ProgramData\OmniBack\Config\Server\certificates\clientâ€
- Open CLI
Run commands:
perl "C:\Program Files\OmniBack\bin\omnigencert.pl" -server_id hostname.domain.net -user_id "DOMAIN\Administrator" -store_password keystore_password
"C:\Program Files\OmniBack\jre\bin\keytool.exe" -noprompt -exportcert -alias "cn=ca hostname.domain.net, o=micro focus, st=md, c=us" -file "C:\ProgramData\OmniBack\Config\server\AppServer\ascert.crt" -keystore "C:\ProgramData\OmniBack\Config\server\certificates\server\server.keystore" -storepass <keystore_password>
"C:/Program Files/OmniBack/bin/../jre/bin/keytool" -noprompt -delete -alias "cn=ca hostname.domain.net, o=micro focus, st=md, c=us" -keystore "C:/Program Files/OmniBack/jre/lib/security/cacerts" -storepass changeit exe
cuted successfully
C:/Program Files/OmniBack/bin/../jre/bin/keytool" -noprompt -import -alias "cn=ca hostname.domain.net, o=micro focus, st=md, c=us" -file C:/ProgramData/OmniBack/Config/server/AppServer/ascert.crt -keystore "C:/Program Files/
mniBack/jre/lib/security/cacerts" -storepass changeit executed successfully
Restare DP :
omnisv stop
omnisv start
Re-run usermigration:
perl.exe" "C:\Program Files\OmniBack\bin\userMigrate.pl
After this usermigration was succesfull and able to login to DP userinterface