Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Enabling TLS on selenium grid using custom org managed certificates root ca #2307

Unanswered
nikhil-rajan-neu asked this question in Q&A
Discussion options

I have trying to enable tls on the selelnium grid , but the current documentation is not very clear to me .
I have followed this
helm upgrade -i $RELEASENAME -n $NAMESPACE docker-selenium/selenium-grid
--set tls.enabled=true
--set-file tls.secretFiles.tls.crt=/path/to/your/tls.crt
--set-file tls.secretFiles.tls.key=/path/to/your/tls.key
--set-file tls.secretFiles.server.jks=/path/to/your/server.jks

But my node registration is failing with 401

You must be logged in to vote

Replies: 2 comments 5 replies

Comment options

Hi, there is a delay so the new chart version for this doc has not been published yet.
Are you cloning the project and using the source for your trial?

You must be logged in to vote
0 replies
Comment options

Yes .. i got the certificates figured out. But my hub ui is not loading when port forwarding Sent from Outlook for Android<https://aka.ms/AAb9ysg>
...
________________________________ From: Viet Nguyen Duc ***@***.***> Sent: Wednesday, July 17, 2024 6:41:03 pm To: SeleniumHQ/docker-selenium ***@***.***> Cc: Nikhil Rajan ***@***.***>; Author ***@***.***> Subject: Re: [SeleniumHQ/docker-selenium] Enabling TLS on selenium grid using custom org managed certificates root ca (Discussion #2307) CAUTION: This email originated from outside of Neudesic. Please ensure that this sender is authentic before engaging in correspondence or clicking on files or links contained below. Hi, there is a delay so the new chart version for this doc has not been published yet. Are you cloning the project and using the source for your trial? — Reply to this email directly, view it on GitHub<#2307 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ATOF373SNR6DTFIVESIGGQDZMZUN3AVCNFSM6AAAAABK7F32HKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMBXGM3DEMA>. You are receiving this because you authored the thread.Message ID: ***@***.***>
You must be logged in to vote
5 replies
Comment options

I would understand more about port forwarding. Did you access Hub UI via URL something like https://your_public_ip/ui/? If yes, can you try https://your_public_ip or https://your_public_ip/ui

Comment options

@VietND96 yes i am trying to access using the ingress url
i see that i have this error in my ingress logs
SSL fake certificate created" file="/etc/ingress-controller/ssl/default-fake-certificate.pem
looks like for some reason its not taking the certificate i am providing

Comment options

So, how did you deploy the ingress nginx? using its helm chart? If yes, I think you can refer helm/charts#1495
set default-ssl-certificate mount the same selenium TLS secret.
In here I also mentioned: https://github.com/SeleniumHQ/docker-selenium/blob/trunk/charts/selenium-grid/README.md#secure-connection-to-selenium-grid-components

Comment options

Yes i am passing that .. here is my values file

basicAuth: enabled: true edgeNode: enabled: false firefoxNode: enabled: false global: seleniumGrid: defaultNodeStartupProbe: httpGet hub: livenessProbe: enabled: false ingress: hostname: selenium.xxx.int ingress-nginx: controller: extraArgs: default-ssl-certificate: selenium-grid/seleniumgrid-selenium-tls-secret service: annotations: service.beta.kubernetes.io/azure-load-balancer-internal: true loadBalancerIP: 10.84.1.112 enabled: true tls: enabled: true ingress: enabled: true

Comment options

@VietND96 .. i cloned whats in trunk and deployed . did not explicitly install nginx .. used what is available in the selenium grid helm chart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /