Software AG Products 10.5 | Configuring API Gateway | API Gateway Configuration with Command Central | Manage API Gateway Product Configurations in Command Central | Configuring HTTPS Port | Configuring HTTPS Port using Template
 
Configuring HTTPS Port using Template
You can configure port by using the following Command Central template:
sagcc exec templates composite import -i httpPort.yaml

sagcc exec templates composite apply httpPortAlias
Sample ports configuration template
alias: httpsPortAlias
description: API Gateway https port creation

layers:
runtime:
templates: httpsPort-Template

templates:
httpsPort-Template:
products:
integrationServer:
apigateway:
configuration:
OSGI-IS_apigateway-WmAPIGateway:
COMMON-PORTS:
COMMON_PORTS_HTTPS:
Port:
'@primary': 'false'
'@alias': HTTPS
Enabled: 'true'
CustomType: HTTPSListener@5558
Number: '5558'
Protocol: HTTPS
Backlog: '200'
KeepAliveTimeout: '20000'
ThreadPool:
SSL:
KeystoreAlias: pgkey
KeyAlias: partner2
TruststoreAlias: trust
ExtendedProperties:
Property:
- '@name': DIS_PORT
$: '5558'
- '@name': DIS_PORT_ALIAS
$: HTTPS
- '@name': DIS_PROTOCOL
$: HTTPS
- '@name': DIS_ENABLE
$: 'true'
- '@name': DIS_PRIMARY
$: 'false'
- '@name': UseJSSE
$: 'true'
- '@name': listenerType
$: Regular
- '@name': Type
$: Regular
- '@name': DIS_TYPE
$: Regular
- '@name': PortType
$: HTTPS
- '@name': PortDescription
$: https ports
- '@name': ClientAuth
$: require
- '@name': IdleTimeout
- '@name': MaxConnections
- '@name': ProxyHost
- '@name': Username
- '@name': Password
provision:
default:
runtime: ${nodes}