Error: parsing config file with SSL Virtualhost 443 in SPS
search cancel

Error: parsing config file with SSL Virtualhost 443 in SPS

book

Article ID: 116296

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On SITEMINDER

Issue/Introduction

 

When configuring SSL on the CA Access Gateway (SPS). Once the key and certificate server are created and SPS is configured, CA Access Gateway (SPS) restart fails. SSL Virtualhost is needed for the sake of a Federation partnership.

The server.log reports the following: 

  [21/oct/2018:09:17:40-542] [INFO] - ** Error parsing config file 'C:\Program Files (x86)\CA\secure-proxy\proxy-engine\conf\server.conf'. 
  [21/oct/2018:09:17:40-542] [INFO] - ** Line No   : '465' 
  [21/oct/2018:09:17:40-542] [INFO] - ** Line Text : '<VirtualHost name= myserver.domain.com:443>' 
  [21/oct/2018:09:17:40-542] [FATAL] - tomcat.fatalconfigerror 
  [21/oct/2018:09:17:40-542] [FATAL] - FATAL: error parsing config file 'C:\Program Files (x86)\CA\secure-proxy\proxy-engine\conf\server.conf' 
  [21/oct/2018:09:17:40-542] [FATAL] - FATAL: Server exiting in 5 seconds ... 

Reviewing the server.conf at line 465 doesn't seem to show anything wrong: 

  <VirtualHost name= myserver.domain.com:443> 
      #addresses="192.168.1.100" 
      hostnames="myserver.domain.com" 
      defaultsessionscheme="default" 
      # specify the block size for request and response in KBs 
      requestblocksize="4" 
      responseblocksize="8" 
  </VirtualHost> 

Resolution

 

The problem comes from the VirtualHost missing the quotes, so changing the following: 

   <VirtualHost name= myserver.domain.com:443> 

by adding the quotes, like: 

   <VirtualHost name="myserver.domain.com:443"> 

will solve this problem.