Skip to content

Commit

Permalink
Manage installation of browser certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
bcivel authored Jan 27, 2025
1 parent 89f1f45 commit c5b0d3b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docker/nodeChrome/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ RUN apt-get update -qqy && apt-get -qqy --no-install-recommends install sikuli-i
RUN ln -s /usr/lib/jni/libopencv_java320.so /usr/lib/libopencv_java.so

#==============================
# SCript in order to kill zombie processes
# Script in order to kill zombie processes
#==============================
COPY kill-browser-zombieprocess.sh /opt/kill-browser-zombieprocess.sh
RUN chmod 0755 /opt/kill-browser-zombieprocess.sh
Expand All @@ -205,3 +205,15 @@ USER seluser

ENV SE_OPTS="-servlets org.cerberus.robot.extension.sikuli.ExecuteSikuliAction -servlets org.cerberus.robot.extension.filemanagement.ExecuteFilemanagementAction -servlets org.cerberus.robot.extension.management.ExecuteManagementAction"


#==============================
# Script in order to install chrome certificate
# Need certificate.p12 and test_policies.json files in the same Dockerfile folder
#==============================
#USER root

#RUN apt-get update -qqy && apt-get -qqy install libnss3-tools
#RUN mkdir -p $HOME/.pki/nssdb
#COPY certificate.p12 /usr/share/certificate.p12
#RUN pk12util -d sql:$HOME/.pki/nssdb -i /usr/share/certificate.p12 -W password
#COPY test_policies.json /etc/opt/chrome/policies/managed/test_policies.json

0 comments on commit c5b0d3b

Please sign in to comment.