How to import new Paya / javabridge certificates when the same alias already exists?

SOLVED

Hello,

This question is in regards to the following article, which doesn't talk about an issue which I imagine most people would be having when attempting to carry out this process.

https://support.na.sage.com/selfservice/viewdocument.do?noCount=true&externalId=114387&sliceId=1&noCount=true&isLoadPublishedVer=&docType=kc&docTypeID=DT_Article&stateId=19470&cmd=displayKC&dialogID=918706&ViewedDocsListHelper=com.kanisa.apps.common.BaseViewedDocsListHelperImpl&openedFromSearchResults=true

When attempting to import the first certificate I get the following error:

Does anyone know how to correctly handle this issue to get the new certificates installed?

Thanks,

Andy Allen

  • +1
    verified answer

    Figured this out on my own by exploring the help commands of the keytool executable. You got to delete the previous ones first:

    keytool -delete -alias OV_NetworkSolutionsDVServerCA2 -keystore [Your Environment Path]\JAVV1\JAVAB123\BridgeTools\SOFTS\JVM\jre\lib\security\cacerts
    keytool -delete -alias OV_USERTrustRSACertificationAuthority -keystore [Your Environment Path]\JAVV1\JAVAB123\BridgeTools\SOFTS\JVM\jre\lib\security\cacerts