Skip to Content
Technical Articles

SAP Content Server 7.53 Installation and Connectivity with ERP using SSL

SAP Content Server 7.53 has been released in October 2019. It includes important features such as as per the note 2856736 – SAP Content Server 7.5: Support for large documents Content Server 7.53 can process documents that are larger than 4 GB with proper parameter tuning. As SAP Recently released this new version of Content Server after Content Server 650, this blog post helps you to install Content Server 7.53 and establish connectivity with ERP using SSL.

 1. Database and Operating system requirements:

Database: We are going to install Content Server 7.53 in which File System will be used as the storage of the documents, if you are planning to install MaxDB 7.9 as database for Content Server 7.53, then you can do that as Content Server 7.53 also supports MaxDB 7.9 as Database.

Operating system: Below are the supported operating systems for SAP Content Server 7.53:-

  • AIX 64
  • LINUX ON X86_64
  • SOLARIS/SPARC 64
  • WINDOWS FOR X86_64

You can get the above information in details from PAM

Here we are using WINDOWS SERVER 2019 LTSC 64BIT Operating System to Install and configure SAP Content Server 7.53

Please refer below notes for more information:

2786364 – SAP Content Server and Cache Server 7.5 (and higher)

Also, please refer SAP installation guide by clicking here for more details.

2. Download Media:

Installation media can be downloaded from below path:

https://launchpad.support.sap.com/#/softwarecenter

2.1 SWPM:

SAP strongly recommends to download and use latest SWPM, we are using Software Provisioning Manager 1.0 SP28 as from SP28 SAP provides the option to install SAP Content Server 7.53.

INSTALLATIONS & UPGRADES -> By Alphabetical Index (A-Z) -> S -> SL TOOLSET -> SL TOOLSET 1.0 -> INSTALLATION  -> 51054279_15 (SOFTWARE PROVISIONING MGR SP28 SWPM10_IM_WINDOWS_X86_64)

2.2 Content Server Package:

Download SAP Content Server 7.53 installation package

SUPPORT PACKAGES & PATCHES -> By Alphabetical Index (A-Z) -> C -> SAP CONTENT SERVER -> SAP CONTENT SERVER 7.53 -> SAPCS_SP_522-80004899.SAR 

2.2 SAP Host Agent:

Download latest SAP Host Agent

INSTALLATIONS & UPGRADES -> By Alphabetical Index (A-Z) -> H -> SAP HOST AGENT -> SAP HOST AGENT 7.21 -> SAPHOSTAGENT45_45-20009417.SAR

3.Technical Prerequisite:

3.1 Minimum Disk Space:

Disk space can be calculated with the help of SAP Sizing tool , as this is Test Landscape hence we are considering 50 GB of space.

Space can be checked on OS using below powershell command and check for SizeRemaining:-

get-volume

The output looks like the following:

 

3.2 Minimum RAM:

RAM requirement can be calculated with the help of SAP Sizing tool , as this is Test Landscape hence we are considering 8 GB of RAM:-

RAM can be checked on OS using below powershell command and check for TotalPhysicalMemory:-

Get-WmiObject Win32_ComputerSystem

The output looks like the following:

3.3 Paging File Settings:

Paging File requirement can be calculated with the help of SAP Sizing tool , as this is Test Landscape hence we are considering 1 GB of PageFile size

SAP doesn’t support automatically managed page file sizes, to check the if page file sizes is automatic is not, use below powershell command-

(Get-WmiObject Win32_Pagefile) -eq $null

If Automatic manage pagefile size for all devices is enabled, the output value is True.

To disable Automatic manage pagefile size for all devices with the following command:

$sys = Get-WmiObject Win32_Computersystem –EnableAllPrivileges
$sys.AutomaticManagedPagefile = $false
$sys.put()

Check the size of the paging files with the following command:

Get-WmiObject WIN32_Pagefile | Select-Object Name, InitialSize, MaximumSize, FileSize

The output looks like the following:

3.4 Back-end SAP ERP Requirement:

According to Installation guide, Release 4.5B or higher of the SAP system as certificates can only be used together with an SAP system release 4.6B or higher.

In order to be able to perform administrative tasks using transaction CSADMIN, you may need at least Release 4.6C version of the SAP system.

Here we are using SAP ERP 6.0 EHP 8

3.5 File System Type:

We need to check that we are using the Windows file system NTFS on hosts where we want to install the SAP system and database. NTFS supports full Windows security and long file names.

File System Type can be checked on OS using below powershell command and check for FileSystemType:-

get-volume

The output looks like the following:

4. Installation:

Extract the SWPM using latest SAPCAR downloaded at step 2.1 using below command:

<Full Path of SAPCAR> -xvf <Full Path of SWPM> -R <Full Extraction Path>

D:\sapcar.exe -xvf D:\SWPM10SP28\SWPM10SP28_0-20009707.SAR -R D:\SWPM

The extraction looks like the following:

Start sapinst with below command from SWPM directory:-

.\sapinst.exe

this will open SWPM home page for the installation options.

Choose the SAP Content Server installation option in the SWPM menu, then “Generic Options” (at the very bottom of the list)-> “SAP Content Server”-> “SAP Content Server and SAP Cache Server (7.5 and later)”

and Click Next

Select Option Custom and Click Next

Put SID of the Content Server and the Drive to install Content Server application

Put complex master password and click Next

Selected option Different Domain in my case and enter the domain host, you can use as per your requirement and Click Next

Put complex password of <Domain>\<SID>adm and <Domain>\SAPService<SID> and Click Next

Browse the path of SAP Content Server Installation Package downloaded at Step 2.2 and Click Next

Browse the path of SAP Host Agent downloaded at Step 2.3 and Click Next

Select Local Domain for SAP Host Agent and Click Next

Put Password for <Domain>\sapadm and Click Next

Select SAP Content Server and Click Next

Check Instance Number and Hostname and then Click Next

Enter all relevant values and Click Next

Check all the Parameters again and then Click Next

Execution Phase Continues

Execution Finished Successfully and Click Exit

Login to Content Server Host and check for status of Content Server instance using SAP MMC

Content Server instance as been started and working.

5. Post-Configurations:

Make sure Content Server is responding with http and https links:

http://<hostname>:<httpport>/sapcs?serverInfo

https://<hostname>:<httpsport>/sapcs?serverInfo

Below output should be displayed:

Goto Tcode OAC0 in SAP ERP system and Create new repository as below and Click CS Admin:-

Add the below parameters in Content Repository settings and Click Save.

Note: These Parameters are for FileSystem as Storage, so parameters are different for MaxDB as database.

You also need to create location D:\contrep on Content Server host.

Goto Certificate Tab –> Click on Send Certificate –> Activate the Certificate

Make Sure Repositories are running in tab Overview

Test the repository using report RSCMST and make sure results are as per 2888195 – Content Server 7.53 and report RSCMST i.e. Report RSCMSTH0, RSCMSTH1 and RSCMST2 should be GREEN

6. Setting Up SSL:

Goto Content Server from OS level and login with <sid>adm

and execute the below command to generate server certificate:

this will generate a certificate file in the location as below:

Copy this certificate to your local desktop.

Login to ERP and goto tcode STRUST and add this Certificate in System PSE:-

Do the same for SSL Server Standard(ICM restart may be required to take effect)

Goto Tcode OAC0 and Add HTTPS port to configruation.

Select HTTPS possible for HTTPS on frontend(if option doesn’t appear then use %https in tcode area)

Click Save

Do the tests again using report RSCMST:-

Now SAP Content Server 7.53 is ready to use with SSL. BEST OF LUCK!!

7. Conclusion:

In this blog post we have discussed the SAP Content Server 7.53 installation with SSL connectivity with ERP.

 

THANK YOU..

53 Comments
You must be Logged on to comment or reply to a post.
  • Hello,  I'm Installing the Content Server like you, without MaxDB.

    the installation finished succesfully but I cant check the url

    http://localhost:1090/sapcs?serverinfo

    If I open the windows IIS manager I can't find the website( like older installation of sap content server)

    Did you have any issue about that?

     

    Thanks.

     

  • Hello,

    SAP Content Server 7.53 no longer uses windows IIS for hosting content server website. ICM has been introduced in Content Server 7.53 which takes care of the website.

    About the URL, it seems you are accessing link from same host where Content Server is installed, have you checked accessing url with hostname instead of localhost from remote host?

    Can you please share contents of hosts file from location (C:\Windows\System32\drivers\etc)?

    Thanks

  • Hi,

    thank you for your explanation.

    I installed the ContentServer like you and everything finished succesfully.

     

    Check the url via HTTPS works:

    https://<hostname>:<port>/sapcs?serverInfo

     

    But with HTTP i cant get connection. DNS Error

     

    http://<hostname>:<port>/sapcs?serverInfo

     

    Also oac0 doenst work: error: NIECONN_REFUSED

     

    Did you have any issue about that?

     

    • Hello,

       

      Have you selected 'Yes' for the HTTP port while installing the CS?

      Please check if HTTP value is there for parameter icm/server_port_1 in instance profile of Content Server.

      if yes, can you please post your instance profile here

        • Hello,

          Yes, you need to add below parameter in instance profile...

          icm/server_port_1 = PROT=HTTP, PORT=1090

           

          Please take Content Server restart after changing the parameter.

          then try to access with http link

          • Hello,

            You need to goto profile location from OS which is for windows <Drive>:\usr\sap\<SID>\SYS\profile\<SID>_C<NR>_<HOSTNAME> and for unix /usr/sap/<SID>/sys/profile/<SID>_C<NR>_<HOSTNAME> and open file in notepad and add line to that file.

          • Hi,

            thank you it helped. Now i both connectiontests works fine.

            Connection test in oac0 also OK.

            But when i go to csadmin i receive HTTP Error: 401 Unauthorized

             

            Do you have an idea?

    • /
        • Hi Patrick,

          While in transaction OAC0, type in %https in the Command Window.  You will then see HTTPS on frontend and HTTPS on backend option.

          Jaskirat has mentioned this in section "Setting up SSL", about a page into it.

          Cheers
          Gurpreet

  • Hi Jaskirat,

    Thank you for your helpful blog. I followed your steps and the connection test for content repository was successful. But running the report RSCMST gives an error for RSCMSTH2.

     

    UPDATE:

    The problem has been solved after implementing the note 0002586332

     

    Thanks

  • Hi Jaskirat

    1. How to integrate webdispatcher in content server 7.53 and MaxDB 7.9.
    2. How to know which content respository is active.
    3. How to check the respositories from MaxDB.

    Kindly reply to my above queries, which is more urgent.

     

    Thanks

    Ahmed

  • Hi Jaskirat,

    thank you for this documentation. I just finished mine and it looks nearly the same. =)

    The only thing missing where the "websites" to check the health.

    The site for the content server

    http://127.0.0.1:1090/sapcs?serverInfo

    is working fine. I only miss the list of the defined repositores like in the "old" contentserver info site.

    The site for the cache server doesn't work.

    http://127.0.0.1:1095/sapcs?serverInfo

    Both instances are running.

    Do you have more information?

     

    Kindly

    Massimo

    • Hi.

      I found the solution in the deep of the SAP Help Portal. For the cache server you need a "c" more. =)

      http://127.0.0.1:1095/sapcsc?serverInfo

      Still missing the disc space usage and the repositories.

  • Hello Jaskirat,

     

    Thanks for the excellent documentation.

     

    I followed the setup and now in the last step I get an error when testing the archive:

     

    Do you have a idea what I did wrong?

     

    Kind regards,

    Erik Leemans

    /
  • Hi Jorge

    You do not need separate license for SAP Content Server.  I am assuming you have license(s) for other SAP products (ERP, SRM etc).

    Cheers
    Gurpreet

  • Hi I have a qouple of questions

    • Is it better to use MaxDB over the  filesystem, and if so, why is MaxDB better ?
    • Is it poosible to migrate from filesystem to MaxDB  or MaxDB to filesystem as storage

    Regards Sigurdur

  • Thank you Jaskirat Singh,

    We managed to install, configure all communications seems ok for Content Server MaxDB.

    The only thing that we are having issues with is the verification, how do we check the database to verify that documents are stored correct in the database as well as documents being migrated.

    (Checks between the before and after – with File server that was easy)

     

    We found this link but the commands seems outdated and i cannot find an updated document.

    infospire.net/keep-your-sap-database-lean-and-mean

    Alhough all connections work and I am able to store and retrieve I am getting an error on program “RSHTTP52″”Connect Error: Connect to Host 199.19.199.19 Port 1090 error: NIECONN_REFUSED”

    Then how do we verify in the database that the document is stored?

    Your advice / help will be much appreciated,

     

    Regards,

    Linda Allison

    • Hello Linda,

      I mostly use report DMS_KPRO_CHECK1 to count number of documents which are stored in the Content Server.

      If we want even to check if we are able to open the document or not, then we need to open the documents from ABAP layer itself(depends on how Content Server is configured).

      Regards,

      Jaskirat Singh

  • Dear Jaskirat,

    Many thanks for the detailed blog. Had a query, was wondering if you could provide your inputs regarding the same.

    Can we connect the content server with sap po to access the files from the sap cs repositories, if we want to send the files to third party SFTP server ?

    // Thanks

    Tapas Tarun

     

     

     

  • thanks for the information

     

    could you help me with this error below:

    Microsoft][ODBC SQL Server Driver][Shared Memory]SQL Server does not exist or access denied.

     

    the stutus of the ropositry : offline

    i really appreciate your help .

  • Is it possible to connect multiple SAP ECC systems (Dev & Quality) with same SAP Content server?  Or do I need to install separate Content server for each SAP ECC systems connectivity?

     

    Thank you.

    • Hi Chandresh,

       

      We have installed a few clients and we have normally 2 content servers, one for Dev & Quality and one for Production.

       

      Hope this helps,

       

      Regards,

      Linda

      • Hi Linda,

         

        Thank you for prompt response. This is what I was looking for, I will check for process from my end to connect Dev & Qty both with single content server.

         

        Regards,

        Chandresh.

  • Hi,

    I am now trying to activate HTTPS. Port 1091 is open on our system we did a test from SAP back end, but when I enter the SSL Port number in OAC0 I can send the certificate but when I want to test I get the error:

    Error in HTTP Access: IF_HTTP_CLIENT->RECEIVE 1 SSL handshake with (IP):1091 failed: SSSLERR_PEER_CERT_UNTRUSTED (-102) The peer's X.509 Ce

    Message no. CMS166

     

    Any idea what / where the issue is?

     

    Regards,

    Linda

    • Hi Linda Allison,

       

      This error occurs due to your backend not being able to verify the SSL certificate, being used by Content Server.

      if the certificate is a self-signed one then in STRUST on the backend system add the certificate to the Certificate list of SSL Client SSL Client (Standard), if it has been signed by a CA (internal or public) ensure the root and all intermediate certificates have been added to the list, that where used to issue the certificate.

       

      Regards

      Sunny

  • Good day T. Debackere,

    We have done an installation on Windows for MaxDB, I will share some links that assisted us, hope it helps:

    https://itsiti.com/steps-to-install-configure-sap-content-server-7-53-file-system-on-linux-suse/

    https://maxdb.sap.com/training/expert_sessions/SAP_MaxDB_Content_Server_Architecture.pdf

     

    Regards,

    Linda

     

     

  • Hi.

     

    Kindly help on this issue..

    SQLConnect failed: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, ec=0, rc=-1";

     

     

  • Hello,

     

    what would the requirements be, if i want to Monitor a Content Server with a Solution Manager? Just install the DAA and be happy? or are special steps needed in order to connect properly with the Solman?

     

    Thank you very much for your time!

     

    Have a nice Day

  • Dear Jaskirat Singh,

    We are in the process of upgrading the Content Server version from 6.5 to 7.53 with the latest patch.
    We followed the steps mentioned in the SAP NOTE: 2786364 - SAP Content Server and Cache Server 7.5 (and higher).
    During the installation we enabled AdminSecurity group for "sapsys"
    We are facing the issue where the Web admin URL is working for the first time. After a few minutes the url is not been working with sidadm and its correct password. Only after the restart of the SAP content server we are able to login.
    URL : https://<hostname>:<HTTPS port>/sap/admin
    ----------------------------------------
    [ ***** :root:/sapmnt/***/global/security/data:] cat admin.conf
    P /sapcs/adminContRep * admin * *
    D /sapcs/adminContRep * * * *
    P /sapcs/* * * * *
    [ ***** :root:/sapmnt/***/global/security/data:] cat auth.conf
    sapsys:{SYSTEM_GROUP}:admin
    [ ***** :root:/sapmnt/***/global/security/data:]
    -------------------------------------------------
    Instance Profile details
    #-----------------------------------------------------------------------
    # SAP Content Server
    #-----------------------------------------------------------------------
    icm/server_port_0 = PROT=HTTPS, PORT=1071
    icm/server_port_1 = PROT=HTTP, PORT=1070
    icm/HTTP/contentserver_0 = PREFIX=/sapcs, CONF=$(DIR_PROFILE)/cs.conf
    #-----------------------------------------------------------------------
    # Access Log
    #-----------------------------------------------------------------------
    icm/HTTP/logging_0 = PREFIX=/sapcs, LOGFILE=$(DIR_LOGGING)$(DIR_SEP)http-%y-%m-%d.log%o, MAXFILES=7, MAXSIZEKB=20000, SWITCHTF=day, LOGFORMAT=%t %h "%r" %{content-length}i > "%{x-errordescription}o" %b %s %L
    #-----------------------------------------------------------------------
    # AdminSecurity
    #-----------------------------------------------------------------------
    icm/authfile = $(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)data$(DIR_SEP)auth.conf
    icm/HTTP/auth_0 = PREFIX=/sapcs, PERMFILE=$(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)data$(DIR_SEP)admin.conf, AUTHFILE=$(icm/authfile)
    icm/HTTP/admin_0 = PREFIX=/sap/admin, DOCROOT=$(DIR_DATA)$(DIR_SEP)icmandir$(DIR_SEP)admin, PORT=1071, AUTHFILE=$(icm/authfile)
    #-----------------------------------------------------------------------
    Please let us know how to resolve the issue.
    Regards
    Appuru
  • Dear Jaskirat,

    Thanks for the excellent blog related to CS 7.53.

    I am unable to find any document related to configuring the HTTP Content server 7.53 using MaxDB as storage type.

    Could you please share the post steps to configure Content Server using MaxDB as storage.

    Thanks,

    Mahendra R

  • Hi Jaskirat,

    I assume all documents are stored in one directory/share on the filesystem or does Content Server also use subdirectories?

    When stored on the filesystem, does Content Server provide a specific name for that document? I'm trying to find out how easy it is for the customer to recognize a document because they want to be able to open the documents from OS-level as well.

    Regards,

    Rob