| Products | Versions |
|---|---|
| TIBCO BusinessConnect Container Edition ConfigStore Management Interface Protocol | 1.1.1 |
This addendum extends Part 2 of the parent article to the Partner Management Portal (PMP). PMP is the optional self-service partner onboarding portal. It serves HTTPS the same way bcce-as does: with a PEM-format certificate and private key, not a JKS keystore.
Naming: The Helm subchart, the
values.yamlkey, and the--set-fileprefix are allbcce-pmp(notbcce-pm). A key with any other spelling is silently ignored by Helm, and PMP will deploy without SSL.
Three files in deployment/helm are involved:
| File | Change |
|---|---|
values.yaml | Enable bcce-pmp and its ssl block |
values-ssl-certs.yaml | Add a bcce-pmp block (ssl.enabled + private key passphrase) |
bcce-l-ws.sh | Add --set-file flags for the PMP certificate and private key |
| Item | Value |
|---|---|
| Container port / Service port | 8290 |
| External access | NodePort 30030 |
| Certificate mount path | /usr/bcce-pmp/certificate/certificate.pem |
| Private key mount path | /usr/bcce-pmp/private-key/private_key.pem |
| Secret names | bcce-pmp-certificate, bcce-pmp-private-key |
| Image version series | Independent of core BCCE (1.1.x), so set bcce-pmp.image.tag explicitly and do not use the core *imageTag anchor |
bcce-pmp has ssl.enabled: false by default in its own chart, so it must be enabled explicitly.
When ssl.enabled: true, the chart sets these environment variables in the PMP container:
| Environment Variable | Value |
|---|---|
ssl_enabled | true |
ssl_certificate | /usr/bcce-pmp/certificate/certificate.pem |
ssl_private_key | /usr/bcce-pmp/private-key/private_key.pem |
ssl_private_key_passphrase | read from the private-key Secret (if a passphrase is set) |
Enable the subchart, set the image tag, and turn on SSL:
bcce-pmp:
enabled: true
replicaCount: 1
image:
tag: "1.1.1.012" # PMP has its own version series (1.1.x)
pullPolicy: IfNotPresent
service:
type: NodePort
port: 8290
targetPort: 8290
externalAccess:
enabled: true
nodePort: 30030
ssl:
enabled: true
pmp:
tasUrl: "" # empty = auto-derived from global.externalHost + auditsafe-ws NodePort
redirectUrl: "" # set for SSO/OIDC: https://<HOST>:30030/sso/oidc/callback
Notes:
pmp.tasUrl is the URL the browser uses to call auditsafe-ws, so it must be externally reachable. Do not use an in-cluster *.svc.cluster.local name. If left empty, the chart builds it from global.externalHost and pmp.externalAccess.auditsafeWs.nodePort (default 31000, which must match the auditsafe-ws NodePort). The scheme is https when pmp.auditsafeWsSSL is true (the default).pmp.redirectUrl (and the matching cms.pmpRedirectUrl in the bcce-cms section) must be set when SSO/OIDC is used with PMP over HTTPS. The format is https://<HOST_IP>:<PMP_NODEPORT>/sso/oidc/callback.bcce-as, the certificate CN/SAN must match global.externalHost (see the CN/SAN section in Part 2 of the parent article). Otherwise the browser reports a certificate error for https://<externalHost>:30030.Add a bcce-pmp block alongside the existing auditsafe-ws and bcce-as blocks:
# SSL certificate override values for auditsafe-ws, bcce-as and bcce-pmp
# Usage: helm upgrade --install <release> <chart> \
# --values values-ssl-certs.yaml \
# --set-file auditsafe-ws.ssl.keystore.filePath=/path/to/keystore.jks \
# --set-file auditsafe-ws.ssl.truststore.filePath=/path/to/keystore.jks \
# --set-file bcce-as.ssl.certificate.filePath=/path/to/cert.pem \
# --set-file bcce-as.ssl.privateKey.filePath=/path/to/key.pem \
# --set-file bcce-pmp.ssl.certificate.filePath=/path/to/cert.pem \
# --set-file bcce-pmp.ssl.privateKey.filePath=/path/to/key.pem
auditsafe-ws:
ssl:
enabled: true
keystore:
password: "<keystore-password>"
bcce-as:
ssl:
enabled: true
privateKey:
passphrase: "<private-key-passphrase>"
bcce-pmp:
ssl:
enabled: true
privateKey:
passphrase: "<private-key-passphrase>" # only if the private key is encrypted
The passphrase is needed only when the private key is encrypted. If the key is unencrypted, omit it. The passphrase is stored as a second data key in the same Secret as the private key, never as a plaintext pod environment value.
The chart validates the passphrase settings at render time and fails the install/upgrade (BCCE-6070) if:
passphrase is set while ssl.enabled is falsepassphrase is set together with ssl.privateKey.existingSecretpassphraseKey equals ssl.privateKey.keyThe launch script must pass the PMP certificate and key with --set-file. Without these, the chart has no file content to put in the Secrets and the install fails.
#!/bin/bash
helm install bcce-release . \
-n bcce \
--values values-override-cpu.yaml \
--values values-ssl-certs.yaml \
--set-file auditsafe-ws.ssl.keystore.filePath=/home/<user>/certs/keystore.jks \
--set-file auditsafe-ws.ssl.truststore.filePath=/home/<user>/certs/keystore.jks \
--set-file bcce-as.ssl.certificate.filePath=/home/<user>/certs/cert.pem \
--set-file bcce-as.ssl.privateKey.filePath=/home/<user>/certs/key.pem \
--set-file bcce-pmp.ssl.certificate.filePath=/home/<user>/certs/cert.pem \
--set-file bcce-pmp.ssl.privateKey.filePath=/home/<user>/certs/key.pem
Notes:
#!/bin/bash. A line starting with only #/bin/bash (missing the !) is treated as a comment, and the script then runs under whatever shell invokes it.values.yaml is read automatically by Helm and does not need --values. Additional --values files are layered on top of it.cert.pem / key.pem as bcce-as when the certificate covers the shared externalHost. A separate certificate can be used if required.--set-file paths are resolved on the machine running helm. Use a path valid on that machine (for example a Linux path when running from WSL or a Linux host, not a mapped Windows drive).helm upgrade with the same --values and --set-file arguments. As in the parent article, run from bcce-1.7.1/deployment/helm.# PMP pod is Running/Ready
kubectl get pods -n bcce | grep pmp
# SSL environment variables are set in the container
kubectl exec -n bcce deploy/bcce-release-bcce-pmp -- env | grep ^ssl_
# Secrets exist
kubectl get secret -n bcce | grep bcce-pmp
# HTTPS responds on NodePort 30030 and shows the expected certificate
openssl s_client -connect <externalHost>:30030 -servername <externalHost> </dev/null | openssl x509 -noout -subject -issuer -ext subjectAltName
Then browse to https://<externalHost>:30030.
Substitute the actual Deployment name if it differs from bcce-release-bcce-pmp (kubectl get deploy -n bcce).
| Symptom | Likely cause |
|---|---|
| PMP serves plain HTTP | bcce-pmp.ssl.enabled not true (check the spelling of the key: bcce-pmp) |
Install fails with BCCE-6070 | Passphrase set with ssl.enabled: false, with existingSecret, or passphraseKey equal to key |
| Install fails complaining about empty file path / Secret | --set-file bcce-pmp.ssl.certificate.filePath or privateKey.filePath missing from the launch command, or the path is not readable from the host running helm |
| Pod crash-loops with a key/passphrase error | Private key is encrypted but bcce-pmp.ssl.privateKey.passphrase is missing or wrong |
| Browser certificate warning | Certificate CN/SAN does not match global.externalHost |
| Login/SSO redirect fails after enabling HTTPS | pmp.redirectUrl / cms.pmpRedirectUrl still empty or still http:// |
| PMP page loads but audit data calls fail | tasUrl unreachable from the browser, or pmp.externalAccess.auditsafeWs.nodePort does not match the auditsafe-ws NodePort |
Product: TIBCO BusinessConnect Container Edition (BCCE) 1.7.1 Component: Helm Chart — bcce-pmp (Partner Management Portal) Addendum to: KB: Configuring SSL/TLS for Elasticsearch/OpenSearch and the BCCE Admin Server in BCCE 1.7.1 Helm Chart (KB-bcce-elasticsearch-ssl-truststore.md)
Feedback submitted!