Professional Documents
Culture Documents
BATTLESHIPCOBRA
(http://www.battleshipcobra.com/)
Mike Taylor
YOUTUBER
INSTALLATION (DETAILS)
Posted on 02/18/2015 (http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-installation- FOLLOW ME
details/) by Mike (http://www.battleshipcobra.com/author/mike-2/)
YOUTUBE
Michael Taylor
YouTube 1K
(HTTPS://WWW.YOUTUBE.COM/WATCH?
V=0MWXKCDVBJO) TOP POSTS
http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-installation-details/ 1/10
4/15/2018 SAP Business One B1i SSL Integration Installation (Details) – BATTLESHIPCOBRA
(https://www.youtube.com/watch?v=0MWxKcDvbjo)
Main SAP Note 2019275 ( (https://www.youtube.com/watch?v=0MWxKcDvbjo)click for link (https://websmp230.sap-
How to Pull UDF Dropdown Descriptions int
ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?
Queries / Crystal Reports SAP Business On
param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3030303230313932373526))
(http://www.battleshipcobra.com/2014/how
NOTE: This article has been adapted from the main SAP note and expanded upon based on several installations.
pull-udf-dropdown-descriptions-into-queri
crystal-reports-sap-business-one/)
PREREQUISITES Changing Menu Titles SBO
1. You need to have B1i installed (http://www.battleshipcobra.com/2011/cha
2. You need the current .keystore password located at: C:\Program Files (x86)\SAP\SAP Business One menu-titles-sbo/)
Integration\IntegrationServer\Tomcat\conf\server.xml
Crystal Reports Conditional Grouping Meth
3. Search the XML document for the keystorePass attribute. Default that I have observed has been sapB1iP
(http://www.battleshipcobra.com/2012/cry
4. You need a domain name associated with your raw IP address. IE, mobile.lhimports.com as an example. This
reports-conditional-grouping-method/)
must resolve to their static IP address with an A record in the subdomains DNS.
Make a Pareto Chart in Crystal Reports
1. Go to: http://slproweb.com/products/Win32OpenSSL.html (http://slproweb.com/products/Win32OpenSSL.html) SAP Business One B1i SSL Integration Insta
2. Download and install Visual C++ 2008 Redistributables (x64) (http://www.microsoft.com/downloads/details.aspx? (Details)
familyid=bd2a6171-e2d6-4230-b809-9a8d7548c1b6) (http://www.battleshipcobra.com/2015/sap
3. Download and install Win64 OpenSSL v1.0.2d Light (http://slproweb.com/download/Win64OpenSSL_Light- business-one-b1i-ssl-integration-installatio
1_0_2d.exe) details/)
4. Install everything with default settings
5. Start Run and run “cmd /admin” or manually run Command Prompt as Administrator. This is critical because it
will give you various failed RND errors especially on Server 2012
6. Navigate to C:\OpenSSL-Win64\bin
7. Enter:
set OPENSSL_CONF=c:\openssl-win64\bin\openssl.cfg
8. WARNING Carefully inspect your CMD outputs when entering the code below. If at any point you see the term
“Unable to write ‘random state'” then you need to enter the following:
set RANDFILE=.rnd
(NOTE: View these screenshots to see what a successful command completion looks like, some of the commands do not
produce a positive con rmation, they simply advance to the next line. After a series of commands, these screenshots will
show you what the result should be.)
Anything highlighted in YELLOW needs to be modi ed, everything else you can leave the same.
1. Enter:
2. Enter:
openssl req -new -x509 -key ServerKey.key -out myCA.cer -days 3650 -subj /CN="custom_CA_name"
http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-installation-details/ 2/10
4/15/2018 SAP Business One B1i SSL Integration Installation (Details) – BATTLESHIPCOBRA
3. custom_CA_name can be whatever you want and shows up later when installing on the mobile devices as the
pro le name.
2. Enter:
3. server_domain_name must be your subdomain which was created in Prerequisites step #4. Something like
mobile.yourcompanywebsite.com. You will eventually feed this back to your mobile app using the server
mobile.yourcompanywebsite.com:8443 (or whatever your SSL port is). This can simply be your IP address
(209.253.12.153 for example, NO PORT IS REQUIRED for this step just the IP address) as well and does not need to
have the HTTP:// or HTTPS:// in front of it. (*Special thanks to Heath Gardner for testing the IP address theory and
verifying that it works.)
4. Enter:
openssl x509 -req -days 3650 -in CertReq.csr -CA myCA.cer -CAkey ServerKey.key -CAcreateserial -out ClientCert.crt
2. You will be prompted to enter a password, which will be the password from Prerequisites step #2-3 (should be
sapB1iP). You will enter the password, but you will not see anything in the command prompt, this is NORMAL. You
will have to con rm and you will also see nothing when typing the con rmation password, this again is normal.
keytool
7. Push Enter
8. If the le is found and you see the help then follow the next steps, if the le is NOT found then go to “Deploy the
Certi cate (Option #2). If the le is found, then continue with the next steps.
http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-installation-details/ 3/10
4/15/2018 SAP Business One B1i SSL Integration Installation (Details) – BATTLESHIPCOBRA
9. NOTE: See screenshot after step 16 for successful con rmation prompts.
10. Enter:
11. Use your password from Prerequisites step #2. Likely to be sapB1iP.
12. Enter:
keytool -importkeystore -srckeystore ./webapps/B1iXcellerator/keystore.pkcs12 -srcstoretype PKCS12 -destkeystore ./webapps/B1iXcellerator/.keystore -deststoretype JKS -deststo
13. Use your password from Prerequisites step #2. Likely to be sapB1iP.
14. Enter:
15. Use your password from Prerequisites step #2. Likely to be sapB1iP.
16. All steps should be successful at this point:
keytool -delete -alias tomcat -keystore "C:/Program Files (x86)/SAP/SAP Business One Integration/IntegrationServer/Tomcat/webapps/B1iXcellerator/.keystore" -storepass sapB1iP
keytool -importkeystore -srckeystore "C:/Program Files (x86)/SAP/SAP Business One Integration/IntegrationServer/Tomcat/webapps/B1iXcellerator/keystore.pkcs12" -srcstoretype PK
keytool -changealias -alias 1 -destalias tomcat -keystore "C:/Program Files (x86)/SAP/SAP Business One Integration/IntegrationServer/Tomcat/webapps/B1iXcellerator/.keystore" -sto
10. Use your password from Prerequisites step #2. Likely to be sapB1iP
http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-installation-details/ 4/10
4/15/2018 SAP Business One B1i SSL Integration Installation (Details) – BATTLESHIPCOBRA
services.msc
3. Shut down SAP Business One Integration Service, SAP Business One EventSender Service, SAP Business One DI
Proxy Service, SAP Business One DI Proxy Service Monitor. Shut them down in that order.
4. Start them up in the same order you shut them down.
1. Copy the C:\OpenSSL-Win64\Bin\myCA.cer le via a microSD card onto the Android device
2. Install the le via Settings -> Security -> Credential Storage and selecting “Install from storage” and follow the
prompts
SUMMARY
You should now be able to login using your mobile app. This procedure should add a little bit more detail from the basic
SAP note. Please let me know if you have any other questions. Thank you!
Tips & Tricks: Make Life Easier for Sending Email Open-Source Government
Screenshots (http://www.battleshipcobra.com/2015/tips- (http://www.battleshipcobra.com/2015/open-source-
tricks-make-life-easier-for-sending-email-screenshots/) government/)
REPLY (HTTP://WWW.BATTLESHIPCOBRA.COM/2015/SAP-BUSINESS-ONE-B1I-SSL-INTEGRATION-INSTALLATION-DETAILS/?
REPLYTOCOM=8093#RESPOND)
Hi i both a certi cate from godaddy but i can’t make it work. Do you have procedure to import the 3 keys i received
from them the 3 keys are root, intermed and domain.
Thanks!
REPLY (HTTP://WWW.BATTLESHIPCOBRA.COM/2015/SAP-BUSINESS-ONE-B1I-SSL-INTEGRATION-INSTALLATION-DETAILS/?
REPLYTOCOM=12745#RESPOND)
http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-installation-details/ 5/10
4/15/2018 SAP Business One B1i SSL Integration Installation (Details) – BATTLESHIPCOBRA
04/09/2016 at 2:07 am (http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-installation-
details/#comment-12772)
REPLY (HTTP://WWW.BATTLESHIPCOBRA.COM/2015/SAP-BUSINESS-ONE-B1I-SSL-INTEGRATION-INSTALLATION-DETAILS/?
REPLYTOCOM=12772#RESPOND)
Gustavo says:
04/15/2016 at 7:29 am (http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-
installation-details/#comment-12811)
REPLY (HTTP://WWW.BATTLESHIPCOBRA.COM/2015/SAP-BUSINESS-ONE-B1I-SSL-INTEGRATION-INSTALLATION-DETAILS/?
REPLYTOCOM=12811#RESPOND)
I am having issue with Install Dashboard it keeps on giving error message that Integrated Services is not running
REPLY (HTTP://WWW.BATTLESHIPCOBRA.COM/2015/SAP-BUSINESS-ONE-B1I-SSL-INTEGRATION-INSTALLATION-DETAILS/?
REPLYTOCOM=14140#RESPOND)
You need to install the B1i rst. Check out my step-by-step B1i video here: https://youtu.be/0MWxKcDvbjo
(https://youtu.be/0MWxKcDvbjo)
Hi, If I want to make an internal connection from my iPad to my local machine, what would my
“Customer_CA_Name” be?
REPLY (HTTP://WWW.BATTLESHIPCOBRA.COM/2015/SAP-BUSINESS-ONE-B1I-SSL-INTEGRATION-INSTALLATION-DETAILS/?
REPLYTOCOM=14200#RESPOND)
Hey Chong, check out my B1i video on YouTube, it explains the entire process (including SSL and the
certi cate name): https://youtu.be/0MWxKcDvbjo (https://youtu.be/0MWxKcDvbjo)
http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-installation-details/ 6/10
4/15/2018 SAP Business One B1i SSL Integration Installation (Details) – BATTLESHIPCOBRA
Hey Ross, check out my B1i video on YouTube, it explains the entire process (including SSL):
https://youtu.be/0MWxKcDvbjo (https://youtu.be/0MWxKcDvbjo)
Ross says:
09/23/2016 at 12:28 am (http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-
installation-details/#comment-14343)
When sending the certi cate to my ios device it comes through as a .dat le is there something im doing wrong
REPLY (HTTP://WWW.BATTLESHIPCOBRA.COM/2015/SAP-BUSINESS-ONE-B1I-SSL-INTEGRATION-INSTALLATION-DETAILS/?
REPLYTOCOM=14343#RESPOND)
Hey Ross, check out my B1i video on YouTube, it explains the entire process (including SSL):
https://youtu.be/0MWxKcDvbjo (https://youtu.be/0MWxKcDvbjo)
Krishna says:
12/17/2016 at 4:05 am (http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-
installation-details/#comment-14616)
We are have followed all the steps and installed certi cates in Android Mobiles but getting error as connection
failed pls help
REPLY (HTTP://WWW.BATTLESHIPCOBRA.COM/2015/SAP-BUSINESS-ONE-B1I-SSL-INTEGRATION-INSTALLATION-DETAILS/?
REPLYTOCOM=14616#RESPOND)
http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-installation-details/ 7/10
4/15/2018 SAP Business One B1i SSL Integration Installation (Details) – BATTLESHIPCOBRA
02/16/2017 at 2:02 pm (http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-
installation-details/#comment-14820)
REPLY (HTTP://WWW.BATTLESHIPCOBRA.COM/2015/SAP-BUSINESS-ONE-B1I-SSL-INTEGRATION-INSTALLATION-DETAILS/?
REPLYTOCOM=14674#RESPOND)
Babek says:
01/06/2017 at 2:11 pm (http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-
installation-details/#comment-14677)
Hi Mike,
I have run into with such problem. When I wanted to run
keytool -delete -alias tomcat -keystore “C:/Program Files (x86)/SAP/SAP Business One
Integration/IntegrationServer/Tomcat/webapps/B1iXcellerator/.keystore” -storepass sapB1iP
command the problem was shown:
keytool error: java.lang.Exception: Alias does not exist
i have checked in path C:\Program Files\Java\jre1.8.0_112\bin also.
REPLY (HTTP://WWW.BATTLESHIPCOBRA.COM/2015/SAP-BUSINESS-ONE-B1I-SSL-INTEGRATION-INSTALLATION-DETAILS/?
REPLYTOCOM=14677#RESPOND)
I have an AutoSSL tool in this video which will validate your Keytool path. Check it out!
Abhi says:
02/03/2017 at 4:01 am (http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-
installation-details/#comment-14764)
Hi Mike,
When I tried to Convert PKCS1 keystore into Java keystore, I am getting this error-“keytool error:
java.security.KeyStoreException: PKCS1 not found”.
———————————————————————————————————————
C:\Program Files (x86)\sap\SAP Business One Integration\sapjre_64\bin>keytool -i
mportkeystore -srckeystore “C:\Program Files (x86)\sap\SAP Business One Integrat
ion\IntegrationServer\Tomcat\webapps\B1iXcellerator\keystore.pkcs1” -srcstoretyp
e pkcs1 -destkeystore “C:\Program Files (x86)\SAP\SAP Business One Integration\I
ntegrationServer\Tomcat\webapps\B1iXcellerator\.keystore” -deststoretype JKS -de
ststorepass sapB1iP -srcstorepass sapB1iP
keytool error: java.security.KeyStoreException: PKCS1 not found
Thanks,
Abhi
http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-installation-details/ 8/10
4/15/2018 SAP Business One B1i SSL Integration Installation (Details) – BATTLESHIPCOBRA
REPLY (HTTP://WWW.BATTLESHIPCOBRA.COM/2015/SAP-BUSINESS-ONE-B1I-SSL-INTEGRATION-INSTALLATION-DETAILS/?
REPLYTOCOM=14764#RESPOND)
Hey Abhi, could be the curly quotes around your code there. As a best practice you can paste the code into
a text editor and switch the quotes from “ to “. The rst are “curly” quotes in rich text format and this will
throw things o . You need them to be simple ” quotes. You could also check out my YouTube video about
B1i installation and SSL creation and download my AutoSSL tool which will do the whole process for you.
See that here: https://youtu.be/0MWxKcDvbjo (https://youtu.be/0MWxKcDvbjo)
Abhi says:
02/24/2017 at 5:19 am (http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-
installation-details/#comment-14858)
Thanks, Mike
But after SSL creation & installation onto mobile successfully now it’s throwing me error as “To gain Access, contact
your system administrator and supply the following information: Company, User, Phone, DeviceID ” even after
updating the same details in my SAP B1 client.
REPLY (HTTP://WWW.BATTLESHIPCOBRA.COM/2015/SAP-BUSINESS-ONE-B1I-SSL-INTEGRATION-INSTALLATION-DETAILS/?
REPLYTOCOM=14858#RESPOND)
LEAVE A REPLY
Your email address will not be published. Required elds are marked *
COMMENT
NAME *
EMAIL *
WEBSITE
Post Comment
http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-installation-details/ 9/10
4/15/2018 SAP Business One B1i SSL Integration Installation (Details) – BATTLESHIPCOBRA
Proudly powered by WordPress (https://wordpress.org/) | Biography by Yam Chhetri (http://www.yamchhetri.com/).
http://www.battleshipcobra.com/2015/sap-business-one-b1i-ssl-integration-installation-details/ 10/10