We are trying to connect iphone to SAP server through SAP mobility when we suddenly encounter this error "Certificate for this server was not issued by a trusted certificate authority. The connection to the server is disabled. Contact your IT administrator for more details" so thats why we install OpenSSL-Win32 to create SSL Certificate.
This are the step we did to create SSL Certicate:
First we run Command prompt to the server then enter the following: set OPENSSL_CONF=c:\openssl-win64\bin\openssl.cfg
1. To Create Root Server Certificate
- We Enter: openssl genrsa -out ServerKey.key 1024
- openssl req -new -x509 -key ServerKey.key -out myCA.cer -days 3650 -subj /CN="custom_CA_name"
and it was succesful then we continue to the next step
2. Create Self-Signed Certificate for Domain
- We Enter: openssl genrsa -out ClientKey.key 1024
- openssl req -new -key ClientKey.key -out CertReq.csr -subj /CN="server_domain_name"
- openssl x509 -req -days 3650 -in CertReq.csr -CA myCA.cer -CAkey ServerKey.key -CAcreateserial -out ClientCert.crt
and it was successfull again then we proceed again to the next step
3. Deploy the Certificate
- We enter: openssl pkcs12 -export -inkey ClientKey.key -in ClientCert.crt -out keystore.pkcs12
then we change the directory to C:\Program Files\SAP\SAP Business One Integration\sapjre_7_64\jre\bin
- Then Enter : keytool -delete -alias tomcat -keystore "C:/Program Files (x86)/SAP/SAP Business One Integration/IntegrationServer/Tomcat/webapps/B1iXcellerator/.keystore" -storepass sapB1iP
Then suddenly this error show: "keytool error: java.lang.Exception: Alias <tomcat> does not exist"
SAP B1 9.0 PL11