Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authn-jwt jwks-uri with ca-cert integration tests #2452

Merged
merged 2 commits into from
Jan 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ci/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ services:

jwks:
image: nginx
networks:
default:
aliases:
- chained.mycompany.local
volumes:
- jwks-volume:/usr/share/nginx/html
- ./oauth/jwks/nginx.conf:/etc/nginx/conf.d/default.conf
Expand Down
18 changes: 18 additions & 0 deletions ci/oauth/jwks/cert-chain/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Regenerating Test Certificates

To regenerate these certificate:

- Clone [conjurdemos/conjur-intro](https://github.com/conjurdemos/conjur-intro)
repository.
- Go to `tools/simple-certificates` directory.
- Run `./generate_certificates 2 chained`.
- Copy relevant certificates from `certificates/` directory to here and build
full chain bundle

```bash
cp ./certificates/nodes/chained.mycompany.local/chained.mycompany.local.cert.pem ./
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line length

cp ./certificates/nodes/chained.mycompany.local/chained.mycompany.local.key.pem ./
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line length

cp ./certificates/root/certs/root.cert.pem ./
cp chained.mycompany.local.cert.pem ca-chain.cert.pem
cat ./certificates/ca-chain.cert.pem >> ./ca-chain.cert.pem
```
98 changes: 98 additions & 0 deletions ci/oauth/jwks/cert-chain/ca-chain.cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
-----BEGIN CERTIFICATE-----
MIIFjTCCA3WgAwIBAgICEA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pSGHVpO1QPjGVL
nBbxxnkitwkMMD8U5QGX3No+hvhQijRhbKCtD5jJK9I3SA6ZDQkV5sV6N4b9Gs9H
xDyb5wwLHgzGNjh1mtW1+RvzVSBAd1PSV65N7HmEBi/pFNlLwZEjA7ZRwjKQYeqV
6bB3P5hstE2eKO5bb83oOXCAJyjVvYh/3ogtS/LbuCyG87YragmGdoTn2macZWg/
yVfsCapkuO0adq/hjrmrRAGBVIHRKpbzqAmlAjKtPfa24Zw8M6mAbWteljtiUdwS
bKgLLJKFUSC9lHmYFucGVyYBXlrANjuUi+9Is8dcXY9aHm+XUs8gl6HzlKZ20Dij
Tp4UPtjImCTI2xGQhextrH8YvsD75J5qn4+2nGtrv9KQ8OM0AW5K2JO6xfXY+Km7
PnLh/TtaY31nzU0i7ehlH4x2xHLsN7nMZ076FAMkab4VNxgN3CgYkKF0wb+n+nlo
i9WZBiNwIyRSFtbspV+q6E9jvx5UrYmcFxWjyduRyTc9Wj4JERwVwCiGFICSdcj/
izp6jGT+Q8sHiFc=
-----END CERTIFICATE-----
32 changes: 32 additions & 0 deletions ci/oauth/jwks/cert-chain/chained.mycompany.local.cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
-----BEGIN CERTIFICATE-----
MIIFjTCCA3WgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwdjELMAkGA1UEBhMCVVMx
FjAUBgNVBAgMDU1hc3NhY2h1c2V0dHMxDzANBgNVBAcMBk5ld3RvbjERMA8GA1UE
CgwIQ3liZXJBcmsxDzANBgNVBAsMBkNvbmp1cjEaMBgGA1UEAwwRSW50ZXJtZWRp
YXRlIENBIDEwHhcNMjIwMTAyMTg0OTU1WhcNMjMwMTAyMTg0OTU1WjBsMQswCQYD
VQQGEwJVUzEWMBQGA1UECAwNTWFzc2FjaHVzZXR0czEPMA0GA1UEBwwGTmV3dG9u
MREwDwYDVQQKDAhDeWJlckFyazEPMA0GA1UECwwGQ29uanVyMRAwDgYDVQQDDAdj
aGFpb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EY0twJYjX1BO
tjMO8UJSOVJkOrlSQKNWX4FJAkdVBb0iVqQlELkKaKLPo3jUG2lbic2dK49IHkMH
/atukxAxyhtROYC9Af54d01QcAqSBG/MvM0qGbPCf1+qg/K/WWybhr5y/85n6m3T
NEIewRoENQTHlMshOeYcOlpB0TTZkc38ClyKRmwHAQXdI/ePVnLkmkPh2CfVMy68
ONJj6wV7K11fsGsHQxiB37r9g4ZZIizwxpiKvESHtPZVQLgc1hCCFAbJ68LnEsVw
SUO1kXcbjyabZvbB02SX7SKLfSAfHbm99kGMQCFm1XBW7PO3ze/JNauWqrzkpFzf
ma97MYK5BUjcdaE3x1SPw0pSY20vCWfuTo2eIDYTDn37MH5qURq5UpzngjciCGBc
peFIQzTqDMMDFRBcxrA6UasFg1nZoJan+vvecr3M+IPN
-----END CERTIFICATE-----
51 changes: 51 additions & 0 deletions ci/oauth/jwks/cert-chain/chained.mycompany.local.key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
-----BEGIN RSA PRIVATE KEY-----
MIIJKgIBAAKCAgEA8YYpFoh6CUY7LwvC7DRwzOww7S4L0GcU4cvqaMyyLueJA+rM
cXsrhE8z4zNhq8x37vqKCV3NCyXuMZwDUcVeN3DI4c+FXi2LNHjTZxq/RDKselOz
DWziIj9LOafDjR7j9GxRS5IfACK9ZlYJuOHITdrdyprIrZfyf9b464N+wDzKtVYC
crjb8Rw5sBeooAnrh7nqf4dVwKxaQJXIuM5lqiqg9JkLSIvPSDYzgKWtzG5CXXhg
5IkOHn4+JpH6ikk477ovlPyafMAHDeOBXWVBtSEbYT8Std8b1lgBfdgz+myafF8M
EhEWqcU6MmC/V9rTB4aYqWW2VZlsgrnzXJQIvxG0TP7i2IgrWCfjG47pMt+nO/bR
TrIkjtTWD80iYclfd9Xd5D/raTheLcGccsBw1lVWafRctLd19D8AthoFT0Wo9GuW
nXERXA3hwKzK0m7P5LcmXlCAVTLvbHoAwtWf2NSchnwm5yHi5FKg9N+jajMMPe3s
l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pMmnqUYqazPqA80iddPLJtG1jeeg9n4aaoMK6RxWaVi/n9aH
HDYu99j1Pw3ksiAofcgmBax7+yfvb8f7ORoDYO5iWHRVNnvKeBJR1mtaPPWQT1y1
osffSvtiU7/46OzJWSC0lo6PYt4InJNFiQKCAQEA9C6Zb6QIfRc2cCnJ+6NIbBUz
wI3nePIzCVU+N1qYpelBZ+1hzq6sNeLJTLqMYv2IS/HKjmIOpX/PFfJr2oCW7lN9
OlwlrcOkUo6mxIlA42QONW6ZCEefMERL9SywQQIX1pxEjXL74eow507fAS9exnbe
Cvq+YQkX5lQbodN7PlUkDjtGZkj5kX7Xlv6zZKw4hPp6JGLEWNGI7HQ5kXEcTIom
GF+njoFU0oPpy5WwIuvFF21hq8iNsHNnzXIdm1FY+8nstuLhMFNG75boh3TTRn4I
riRmz7kscYuvotG7kXmNXGTR+HgytBvumV1QH/vIjaiv9E8/ArNNNuxeWzrv3w==
-----END RSA PRIVATE KEY-----
33 changes: 33 additions & 0 deletions ci/oauth/jwks/cert-chain/root.cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
-----BEGIN CERTIFICATE-----
MIIFpzCCA4+gAwIBAgIUKvIIXCsqPdU3g6Bf5/4hBfrxVT0wDQYJKoZIhvcNAQEL
BQAwWzELMAkGA1UEBhMCVVMxFjAUBgNVBAgMDU1hc3NhY2h1c2V0dHMxETAPBgNV
BAoMCEN5YmVyQXJrMQ8wDQYDVQQLDAZDb25qdXIxEDAOBgNVBAMMB1Jvb3QgQ0Ew
HhcNMjExMjA1MTcyNjU1WhcNNDExMTMwMTcyNjU1WjBbMQswCQYDVQQGEwJVUzEW
MBQGA1UECAwNTWFzc2FjaHVzZXR0czERMA8GA1UECgwIQ3liZXJBcmsxDzANBgNV
BAsMBkNvbmp1cjEQMA4GA1UEAwwHUm9vdCBDQTCCAiIwDQYJKoZIhvcNAQEBBQAD
ggIPADCCAgoCggIBANW6gfRw6yrVFspZXvgW4TorwvqYa9n7aJS7xrG3QO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+YMFl0SP7TGtGyKRCXNDCDpXnHoAh6u7Z2Ft5TdV9nJy9rBvcXyibcJm
hP7UK0cRSltxM36NFqQbENacZzWGYxQqVD5E8Bvw5+8bU33XFooNqOApOntbekWR
v9R3BRv3b9vQcoMGWgV44ZTkKY2+CccpvQYvv+HW7+RNnBQp4ikMsdbyNBzd9Nq1
eMkALb8qYAkapcqvWsZWH2Qo4NsIgZzO67mFPsxk+Ust3apipUjrfIPRmaL6Tjnf
PKkJLo+i8m7BSqLqkYqR1Qf3C4WcUvAAAKDhTPnhvglHdvVBaKV5eWm7Lsroc2tF
tEENKFgDIQN3vbPQPBpEuRWkFBrHOTy/UGyOy09MDPu74Qpfk3ksI2q/xmysUF2x
WfqV3vGwTds42UnzOEL9uVrz+m6sBrMN0047MQp1ltUrfkTCcW+TuARTQioaoNvb
c6LWl34xJnd/fhM=
-----END CERTIFICATE-----
19 changes: 19 additions & 0 deletions ci/oauth/jwks/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,22 @@ server {
root /usr/share/nginx/html;
}
}

server {
listen 443 ssl;
server_name chained.mycompany.local;
access_log /var/log/nginx/access.log;

ssl_certificate /tmp/cert-chain/ca-chain.cert.pem;
ssl_certificate_key /tmp/cert-chain/chained.mycompany.local.key.pem;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
1 change: 1 addition & 0 deletions cucumber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ authenticators_azure: >

authenticators_jwt: >
--format pretty
--tags "not @skip"
-r cucumber/api/features/step_definitions/user_steps.rb
-r cucumber/api/features/step_definitions/request_steps.rb
-r cucumber/api/features/support/step_def_transforms.rb
Expand Down
Loading