CyberArk PSM HTML5 Gateway: Docker is stuck in restarting. Restarting (1) Less than a second ago

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

CyberArk PSM HTML5 Gateway: Docker is stuck in restarting. Restarting (1) Less than a second ago

L4 Transporter

This is what I am running:

[root@html5gw-2 PSMGWDocker]# docker run --restart unless-stopped -ti -p 443:8443 -v /opt/cert/:/opt/import:ro -d --cap-drop=all --cap-add={CHOWN,DAC_OVERRIDE,FOWNER,SETGID,SETUID} -e AcceptCyberArkEULA=yes -e EndPointAddress=https://pvwa-cpm-01.cyberark.lan/passwordvault --hostname psm.cyberark.lan --name psm.cyberark.lan cahtml5gw:12_2_5_8

da3dc1a0a98d319f5fbeadddfccd1c5d445a3b3aa6793f3b8f3c2a43d5f13a7e

[root@html5gw-2 PSMGWDocker]# docker container ls

CONTAINER ID  IMAGE        COMMAND         CREATED     STATUS     PORTS                   NAMES

da3dc1a0a98d  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  4 seconds ago  Up 4 seconds  0.0.0.0:443->8443/tcp, :::443->8443/tcp  psm.cyberark.lan

[root@html5gw-2 PSMGWDocker]# docker container ls

CONTAINER ID  IMAGE        COMMAND         CREATED     STATUS     PORTS                   NAMES

da3dc1a0a98d  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  7 seconds ago  Up 7 seconds  0.0.0.0:443->8443/tcp, :::443->8443/tcp  psm.cyberark.lan

[root@html5gw-2 PSMGWDocker]# docker container ls

CONTAINER ID  IMAGE        COMMAND         CREATED     STATUS                 PORTS   NAMES

da3dc1a0a98d  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  10 seconds ago  Restarting (1) Less than a second ago       psm.cyberark.lan

[root@html5gw-2 PSMGWDocker]# docker container ls

CONTAINER ID  IMAGE        COMMAND         CREATED     STATUS                 PORTS   NAMES

da3dc1a0a98d  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  13 seconds ago  Restarting (1) Less than a second ago       psm.cyberark.lan

[root@html5gw-2 PSMGWDocker]# docker container ls

CONTAINER ID  IMAGE        COMMAND         CREATED     STATUS             PORTS   NAMES

da3dc1a0a98d  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  14 seconds ago  Restarting (1) 2 seconds ago       psm.cyberark.lan

[root@html5gw-2 PSMGWDocker]# docker container ls

CONTAINER ID  IMAGE        COMMAND         CREATED     STATUS                 PORTS   NAMES

da3dc1a0a98d  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  16 seconds ago  Restarting (1) Less than a second ago       psm.cyberark.lan

[root@html5gw-2 PSMGWDocker]# docker container ls

CONTAINER ID  IMAGE        COMMAND         CREATED     STATUS            PORTS   NAMES

da3dc1a0a98d  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  17 seconds ago  Restarting (1) 1 second ago       psm.cyberark.lan

[root@html5gw-2 PSMGWDocker]# docker container ls

CONTAINER ID  IMAGE        COMMAND         CREATED     STATUS             PORTS   NAMES

da3dc1a0a98d  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  19 seconds ago  Restarting (1) 2 seconds ago       psm.cyberark.lan

[root@html5gw-2 PSMGWDocker]# docker container ls

CONTAINER ID  IMAGE        COMMAND         CREATED     STATUS             PORTS   NAMES

da3dc1a0a98d  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  20 seconds ago  Restarting (1) 3 seconds ago       psm.cyberark.lan

[root@html5gw-2 PSMGWDocker]# docker container ls

CONTAINER ID  IMAGE        COMMAND         CREATED     STATUS             PORTS   NAMES

da3dc1a0a98d  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  21 seconds ago  Restarting (1) 5 seconds ago       psm.cyberark.lan

[root@html5gw-2 PSMGWDocker]#

 

 

Note this is in my lab. So I am not worried about anything I have deleted the container a few times using:

docker ps -aq | xargs docker stop | xargs docker rm

the reloading with:

docker run --restart unless-stopped -ti -p 443:8443 -v /opt/cert/:/opt/import:ro -d --cap-drop=all --cap-add={CHOWN,DAC_OVERRIDE,FOWNER,SETGID,SETUID} -e AcceptCyberArkEULA=yes -e EndPointAddress=https://pvwa-cpm-01.cyberark.lan/passwordvault --hostname psm.cyberark.lan --name psm.cyberark.lan cahtml5gw:12_2_5_8

 

 

I am following the doc:

https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/12.2/en/Content/PAS%20INST/Install_PSM_HTML5_Docker.htm?TocPath=Installation%7CInstall%20PAM%7CInstall%20PSM%7CAdvanced%20PSM%20Implementations%7CInstall%20PSM%20HTML5%20Gateway%7C_____1

 

I would appreciate any help with any silly mistakes I have made or assumptions.

9 REPLIES 9

L7 Applicator

Check the logs: "docker logs psm.cyberark.lan"

L4 Transporter

Hi BernhanrB

Thank you

That has pointed me in the right diection.

 

Looks to be an issue with the keystore.

 

I will have to look at this to see what is going on.

 

INFO: Running container.

INFO: Creating certificate and Tomcat keystore

INFO: Checking /opt/trust/tomcat/keystore keystore for rootca alias

SUCCESS: rootca successfully imported into /opt/trust/tomcat/keystore keystore

INFO: Checking /opt/trust/tomcat/keystore keystore for psmgw alias

SUCCESS: psmgw successfully imported into /opt/trust/tomcat/keystore keystore

INFO: Updating Tomcat TLS configuration

SUCCESS: Tomcat TLS configuration updated

SUCCESS: Successfully created Tomcat keystore

INFO: Configuring certificate for the Guacamole server...

INFO: Adding certificate for alias 'psmgw' to the Java keystore...

INFO: Checking /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre//lib/security/cacerts keystore for psmgw alias

SUCCESS: psmgw successfully imported into /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre//lib/security/cacerts keystore

SUCCESS: Successfully added certificate for alias 'psmgw' to the Java keystore.

INFO: Updating Guacamole server TLS configuration...

SUCCESS: Guacamole server TLS configuration updated.

SUCCESS: Guacamole server certificate configured.

INFO: Securing RDP traffic to PSM.

INFO: Adding imported certificates to the trust stores.

INFO: Adding certificate for alias 'PSMcert.pem' to the Java keystore...

keytool error: java.lang.Exception: Input not an X.509 certificate

INFO: Checking /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre//lib/security/cacerts keystore for PSMcert.pem alias

ERROR: PSMcert.pem not present in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre//lib/security/cacerts keystore. Exiting now...

ERROR: Error running container. please check html5gw.log file from the container to see the error.

INFO: to get html5gw.log file use the following command:

INFO: docker logs {CONTAINER_NAME}

 

L4 Transporter

Did a rebuild to make sure it was not me again.

 

But got the same issue with the wich looks to me moaning about adding the PSMcert.pem to the Keystore

 

[root@html5gw-2 ~]# docker run --restart unless-stopped -ti -p 443:8443 -v /opt/cert/:/opt/import:ro -d --cap-drop=all --cap-add={CHOWN,DAC_OVERRIDE,FOWNER,SETGID,SETUID} -e AcceptCyberArkEULA=yes -e EndPointAddress=https://pvwa-cpm-01.cyberark.lan/passwordvault --name html5gw-2.cyberark.lan cahtml5gw:12_2_5_8

9a8d0509595e669bb87d5324508e1aa621e554416727c3f18da22d3d119edadf

[root@html5gw-2 ~]# docker ps

CONTAINER ID  IMAGE        COMMAND         CREATED     STATUS             PORTS   NAMES

9a8d0509595e  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  54 seconds ago  Restarting (1) 5 seconds ago       html5gw-2.cyberark.lan

[root@html5gw-2 ~]# docker ps

CONTAINER ID  IMAGE        COMMAND         CREATED     STATUS             PORTS   NAMES

9a8d0509595e  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  57 seconds ago  Restarting (1) 8 seconds ago       html5gw-2.cyberark.lan

[root@html5gw-2 ~]# docker ps

CONTAINER ID  IMAGE        COMMAND         CREATED     STATUS             PORTS   NAMES

9a8d0509595e  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  58 seconds ago  Restarting (1) 10 seconds ago       html5gw-2.cyberark.lan

[root@html5gw-2 ~]#

[root@html5gw-2 ~]# docker container ls

CONTAINER ID  IMAGE        COMMAND         CREATED       STATUS             PORTS   NAMES

9a8d0509595e  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  About a minute ago  Restarting (1) 4 seconds ago       html5gw-2.cyberark.lan

[root@html5gw-2 ~]# docker container ls

CONTAINER ID  IMAGE        COMMAND         CREATED       STATUS             PORTS   NAMES

9a8d0509595e  cahtml5gw:12_2_5_8  "/bin/sh -c '/opt/PS…"  About a minute ago  Restarting (1) 21 seconds ago       html5gw-2.cyberark.lan

[root@html5gw-2 ~]# docker logs html5gw-2.cyberark.lan

INFO: Running container.

INFO: Creating certificate and Tomcat keystore

INFO: Checking /opt/trust/tomcat/keystore keystore for rootca alias

SUCCESS: rootca successfully imported into /opt/trust/tomcat/keystore keystore

INFO: Checking /opt/trust/tomcat/keystore keystore for psmgw alias

SUCCESS: psmgw successfully imported into /opt/trust/tomcat/keystore keystore

INFO: Updating Tomcat TLS configuration

SUCCESS: Tomcat TLS configuration updated

SUCCESS: Successfully created Tomcat keystore

INFO: Configuring certificate for the Guacamole server...

INFO: Adding certificate for alias 'psmgw' to the Java keystore...

INFO: Checking /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre//lib/security/cacerts keystore for psmgw alias

SUCCESS: psmgw successfully imported into /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre//lib/security/cacerts keystore

SUCCESS: Successfully added certificate for alias 'psmgw' to the Java keystore.

INFO: Updating Guacamole server TLS configuration...

SUCCESS: Guacamole server TLS configuration updated.

SUCCESS: Guacamole server certificate configured.

INFO: Securing RDP traffic to PSM.

INFO: Adding imported certificates to the trust stores.

INFO: Adding certificate for alias 'PSMcert.pem' to the Java keystore...

keytool error: java.lang.Exception: Input not an X.509 certificate

INFO: Checking /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre//lib/security/cacerts keystore for PSMcert.pem alias

ERROR: PSMcert.pem not present in /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre//lib/security/cacerts keystore. Exiting now...

ERROR: Error running container. please check html5gw.log file from the container to see the error.

INFO: to get html5gw.log file use the following command:

INFO: docker logs {CONTAINER_NAME}

[root@html5gw-2 ~]# 

L4 Transporter

The CyberArk Doc says

Place the following items in this directory to import them to the trusted store of the HTML5 Gateway docker:

  • the .der or .pem certificate of the CA that signed the PSM certificate, or the PSM self-signed certificate
  • the .der or .pem certificate of the CA that signed the PVWA certificat

But the keytool says this:

keytool error: java.lang.Exception: Input not an X.509 certificate

 

L4 Transporter

CyberArk doc says you need the .der or .pem but keytool does not support them the pem format.

 

Had to convert my cert files to .crt for it to work.

 

[root@html5gw-2 PSMGWDocker]# docker logs html5gw-2.cyberark.lan

INFO: Running container.

INFO: Creating certificate and Tomcat keystore

INFO: Checking /opt/trust/tomcat/keystore keystore for rootca alias

SUCCESS: rootca successfully imported into /opt/trust/tomcat/keystore keystore

INFO: Checking /opt/trust/tomcat/keystore keystore for psmgw alias

SUCCESS: psmgw successfully imported into /opt/trust/tomcat/keystore keystore

INFO: Updating Tomcat TLS configuration

SUCCESS: Tomcat TLS configuration updated

SUCCESS: Successfully created Tomcat keystore

INFO: Configuring certificate for the Guacamole server...

INFO: Adding certificate for alias 'psmgw' to the Java keystore...

INFO: Checking /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre//lib/security/cacerts keystore for psmgw alias

SUCCESS: psmgw successfully imported into /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre//lib/security/cacerts keystore

SUCCESS: Successfully added certificate for alias 'psmgw' to the Java keystore.

INFO: Updating Guacamole server TLS configuration...

SUCCESS: Guacamole server TLS configuration updated.

SUCCESS: Guacamole server certificate configured.

INFO: Securing RDP traffic to PSM.

INFO: Adding imported certificates to the trust stores.

INFO: Adding certificate for alias 'PSMcert.crt' to the Java keystore...

INFO: Checking /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre//lib/security/cacerts keystore for PSMcert.crt alias

SUCCESS: PSMcert.crt successfully imported into /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre//lib/security/cacerts keystore

SUCCESS: Successfully added certificate for alias 'PSMcert.crt' to the Java keystore.

INFO: Adding certificate in file /opt/trust/import/PSMcert.crt to the openssl trusted certificate authorities.

INFO: Symbolic link to certificate file /opt/trust/import/PSMcert.crt created successfully.

SUCCESS: Certificate in file /opt/trust/import/PSMcert.crt added to the openssl trusted certificate authorities.

INFO: Adding certificate for alias 'pvwa-cpm-01.cer' to the Java keystore...

INFO: Checking /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre//lib/security/cacerts keystore for pvwa-cpm-01.cer alias

SUCCESS: pvwa-cpm-01.cer successfully imported into /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre//lib/security/cacerts keystore

SUCCESS: Successfully added certificate for alias 'pvwa-cpm-01.cer' to the Java keystore.

INFO: Adding certificate in file /opt/trust/import/pvwa-cpm-01.cer to the openssl trusted certificate authorities.

unable to load certificate

140544877098928:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:707:Expecting: TRUSTED CERTIFICATE

ERROR: Cannot create symbolic link to certificate file /opt/trust/import/pvwa-cpm-01.cer - hash calculation failed.

INFO: Could not add certificate in file /opt/trust/import/pvwa-cpm-01.cer. Attempting conversion to PEM format.

INFO: Directory /opt/trust/converted created.

INFO: Successfully converted to PEM format. Target file: /opt/trust/converted/pvwa-cpm-01.cer.pem

INFO: Symbolic link to certificate file /opt/trust/converted/pvwa-cpm-01.cer.pem created successfully.

SUCCESS: Certificate in converted PEM file pvwa-cpm-01.cer.pem added to the openssl trusted certificate authorities.

INFO: Setting parameters for JWT Validation.

 

L4 Transporter

INFO: Dynamic Port Allocation is not set.

INFO: File Transfer is enabled.

INFO: Font Smoothing is disabled.

INFO: RDP server keyboard layout is set to 'en-us-qwerty'

INFO: CORS is disabled.

Changing shell for tomcat.

Shell changed.

Changing shell for psmgwuser.

Shell changed.

INFO: redirect tomcat output to stdout

Using CATALINA_BASE:  /opt/tomcat

Using CATALINA_HOME:  /opt/tomcat

Using CATALINA_TMPDIR: /opt/tomcat/temp

Using JRE_HOME:    /usr

Using CLASSPATH:    /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar

Using CATALINA_OPTS:

Tomcat started.

runuser: ignore --preserve-environment, it's mutually exclusive to --login.

guacd[250]: INFO:    Guacamole proxy daemon (guacd) version 1.2.0 started

guacd[250]: INFO:    Communication will require SSL/TLS.

guacd[250]: INFO:    Using PEM keyfile /opt/trust/guacd/guacdKey.pem

guacd[250]: INFO:    Using certificate file /opt/trust/guacd/guacdCert.crt

guacd[250]: INFO:    Listening on host 127.0.0.1, port 4822

25-Aug-2022 12:39:25.588 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name:  Apache Tomcat/

25-Aug-2022 12:39:25.626 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:     Jan 15 2022 14:37:38 UTC

25-Aug-2022 12:39:25.626 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.58.0

25-Aug-2022 12:39:25.626 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:        Linux

25-Aug-2022 12:39:25.627 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:      3.10.0-1160.76.1.el7.x86_64

25-Aug-2022 12:39:25.627 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:     amd64

25-Aug-2022 12:39:25.627 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:       /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-1.el7_9.x86_64/jre

25-Aug-2022 12:39:25.627 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:      1.8.0_322-b06

25-Aug-2022 12:39:25.627 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:      Red Hat, Inc.

25-Aug-2022 12:39:25.627 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:     /opt/tomcat

25-Aug-2022 12:39:25.627 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:     /opt/tomcat

25-Aug-2022 12:39:25.651 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties

25-Aug-2022 12:39:25.651 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

25-Aug-2022 12:39:25.651 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048

25-Aug-2022 12:39:25.652 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources

25-Aug-2022 12:39:25.652 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027

25-Aug-2022 12:39:25.652 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=

25-Aug-2022 12:39:25.652 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/opt/tomcat

25-Aug-2022 12:39:25.652 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/opt/tomcat

25-Aug-2022 12:39:25.652 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/opt/tomcat/temp

25-Aug-2022 12:39:25.656 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [:/opt/CARKpsmgw/lib64:/opt/CARKpsmgw/lib64/freerdp2:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]

25-Aug-2022 12:39:27.020 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-8443"]

25-Aug-2022 12:39:27.674 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [2647] milliseconds

25-Aug-2022 12:39:27.760 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]

25-Aug-2022 12:39:27.761 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/]

25-Aug-2022 12:39:27.846 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/tomcat/webapps/guac.war]

25-Aug-2022 12:39:34.989 WARNING [main] org.apache.catalina.startup.ContextConfig.validateSecurityRoles Security role name [empty_role] used in an <auth-constraint> without being defined in a <security-role>

[PSMGW][12:39:35.735][[main]][INFO ][c.c.p.CAPSMGWServletContextListener]: CyberArk Webapp Version: 12.2.5

[PSMGW][12:39:36.012][[main]][INFO ][c.c.p.m.direct.CAPSMGWDirectModule]: CyberArk Direct Module was loaded.

[PSMGW][12:39:36.020][[main]][INFO ][c.c.p.m.t.w.CAPSMGWWebSocketTunnelModule]: Loading JSR-356 WebSocket Support.

[PSMGW][12:39:36.055][[main]][INFO ][c.c.p.m.tunnel.CAPSMGWTunnelModule]: WebSocket module loaded: com.cyberark.psmgw.modules.tunnel.websocket.CAPSMGWWebSocketTunnelModule

[PSMGW][12:39:36.058][[main]][INFO ][c.c.p.modules.root.CAPSMGWRootModule]: CyberArk Root Module was loaded.

[PSMGW][12:39:36.062][[main]][INFO ][c.c.p.m.r.CAPSMGWRESTServiceModule]: CyberArk REST Service Module was loaded.

Aug 25, 2022 12:39:36 PM org.apache.tomcat.util.descriptor.web.SecurityConstraint findUncoveredHttpMethods

SEVERE: For security constraints with URL pattern [/*] only the HTTP methods [TRACE DELETE PUT] are covered. All other methods are uncovered.

25-Aug-2022 12:39:36.509 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/tomcat/webapps/guac.war] has finished in [8,652] ms

25-Aug-2022 12:39:36.520 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["https-jsse-nio-8443"]

25-Aug-2022 12:39:36.568 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [8894] milliseconds

[root@html5gw-2 PSMGWDocker]#

 

@Andrew Price​  Then the format (meaning the formatting of the content) of your certificate is wrong. If your certificates are PEM formatted (content begins with "-----BEGIN CERTIFICATE-----") and have the extension .pem, .cer, or .crt, they should work with PSM GW Docker container without issues.

 

Another potential issue is the completeness of the certificate chain. If neither the server cert file nor the root CA file contains all intermediate CA certs, then the import inside the container will also fail.

Hi BernhardB,

 

Thank you very much I turned off the EnableJWTValidation

EnableJWTValidation=No

 

An now it works in my lab

L1 Bithead

Just add the certificate for PVWA, PSM(if using self signed certificate) in the /opt/cert folder along with CA certificates who signed those. For certificates, open in any Windows machines, export the certificates .DER format and save with ".cer" extension.

 

If you have certificates for Gateway you can use the below command:

docker run --restart unless-stopped -ti -d -p 443:8443 -v /opt/cert/:/opt/import:ro --cap-drop=all --cap-add={CHOWN,DAC_OVERRIDE,FOWNER,SETGID,SETUID} -e AcceptCyberArkEULA=yes -e GWCert=<Gateway-public>.cer -e GWKey=<GW-private>.key -e GWCAFile=<CA who signed the gateway certificate>.cer -e EndPointAddress=<PVWA URL> --hostname <FQDN of container machine> --name <FQDN of container machine> docker.io/alerocyberark/psmhtml5:latest

 

  • 1135 Views
  • 9 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!