diff --git a/05_k8s/openid/debug.out b/05_k8s/openid/debug.out new file mode 100644 index 0000000..99dba16 --- /dev/null +++ b/05_k8s/openid/debug.out @@ -0,0 +1,113 @@ ++ '[' 6 -ne 5 ']' ++ echo 'Usage: . ./gettoken.sh hostname realm username clientid' +Usage: . ./gettoken.sh hostname realm username clientid ++ echo ' options:' + options: ++ echo ' hostname: localhost:8081' + hostname: localhost:8081 ++ echo ' realm:keycloak-demo' + realm:keycloak-demo ++ echo ' clientid:demo' + clientid:demo ++ echo ' client-secret:x 42734911-3cbd-4a20-a426-83cb208edc43' + client-secret:x 42734911-3cbd-4a20-a426-83cb208edc43 ++ echo ' For verify ssl: use '\''y'\'' (otherwise it will send curl post with --insecure)' + For verify ssl: use 'y' (otherwise it will send curl post with --insecure) ++ return +./gettoken.sh: line 12: return: can only `return' from a function or sourced script ++ HOSTNAME=10.150.152.15:8443 ++ REALM_NAME=fegstg ++ USERNAME=dvojan2 ++ CLIENT_ID=kube ++ CLIENT_SECRET=47f8a6f8-cafd-43ea-b0a6-f46ff292f6d9 ++ SECURE=n ++ KEYCLOAK_URL=https://10.150.152.15:8443/auth/realms/fegstg/protocol/openid-connect/token ++ echo 'Using Keycloak: https://10.150.152.15:8443/auth/realms/fegstg/protocol/openid-connect/token' ++ echo 'realm: fegstg' ++ echo 'client-id: kube' ++ echo 'username: dvojan2' ++ echo 'client-secret: 47f8a6f8-cafd-43ea-b0a6-f46ff292f6d9' ++ echo 'secure: n' ++ [[ n = \y ]] ++ INSECURE=--insecure ++ echo -n Password: ++ read -s PASSWORD +++ curl -X POST https://10.150.152.15:8443/auth/realms/fegstg/protocol/openid-connect/token --insecure -H 'Content-Type: application/x-www-form-urlencoded' -d username=dvojan2 -d password=Nznsjtsth128 -d grant_type=password -d client_id=kube -d client_secret=47f8a6f8-cafd-43ea-b0a6-f46ff292f6d9 -d scope=openid -v +Note: Unnecessary use of -X or --request, POST is already inferred. +* Trying 10.150.152.15... +* TCP_NODELAY set + % Total % Received % Xferd Average Speed Time Time Time Current + Dload Upload Total Spent Left Speed + 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to 10.150.152.15 (10.150.152.15) port 8443 (#0) +* ALPN, offering http/1.1 +* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH +* successfully set certificate verify locations: +* CAfile: /etc/ssl/certs/ca-certificates.crt + CApath: none +* TLSv1.2 (OUT), TLS header, Certificate Status (22): +} [5 bytes data] +* TLSv1.2 (OUT), TLS handshake, Client hello (1): +} [512 bytes data] +* TLSv1.2 (IN), TLS handshake, Server hello (2): +{ [96 bytes data] +* TLSv1.2 (IN), TLS handshake, Certificate (11): +{ [1336 bytes data] +* TLSv1.2 (IN), TLS handshake, Server key exchange (12): +{ [333 bytes data] +* TLSv1.2 (IN), TLS handshake, Server finished (14): +{ [4 bytes data] +* TLSv1.2 (OUT), TLS handshake, Client key exchange (16): +} [70 bytes data] +* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1): +} [1 bytes data] +* TLSv1.2 (OUT), TLS handshake, Finished (20): +} [16 bytes data] +* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1): +{ [1 bytes data] +* TLSv1.2 (IN), TLS handshake, Finished (20): +{ [16 bytes data] +* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 +* ALPN, server accepted to use http/1.1 +* Server certificate: +* subject: O=LX.IFORTUNA.CZ; CN=keycloak01-k8s01-poc.s.dc1.cz.ipa.ifortuna.cz +* start date: Feb 18 11:30:24 2021 GMT +* expire date: Feb 19 11:30:24 2023 GMT +* issuer: O=LX.IFORTUNA.CZ; CN=Certificate Authority +* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway. +} [5 bytes data] +> POST /auth/realms/fegstg/protocol/openid-connect/token HTTP/1.1 +> Host: 10.150.152.15:8443 +> User-Agent: curl/7.64.1 +> Accept: */* +> Content-Type: application/x-www-form-urlencoded +> Content-Length: 137 +> +} [137 bytes data] +* upload completely sent off: 137 out of 137 bytes +{ [5 bytes data] +< HTTP/1.1 200 OK +< Cache-Control: no-store +< Set-Cookie: KEYCLOAK_LOCALE=; Version=1; Comment=Expiring cookie; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Max-Age=0; Path=/auth/realms/fegstg/; HttpOnly +< Set-Cookie: KC_RESTART=; Version=1; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Max-Age=0; Path=/auth/realms/fegstg/; HttpOnly +< X-XSS-Protection: 1; mode=block +< Pragma: no-cache +< X-Frame-Options: SAMEORIGIN +< Referrer-Policy: no-referrer +< Date: Thu, 18 Feb 2021 17:47:11 GMT +< Connection: keep-alive +< Strict-Transport-Security: max-age=31536000; includeSubDomains +< X-Content-Type-Options: nosniff +< Content-Type: application/json +< Content-Length: 2889 +< +{ [2889 bytes data] + 100 3026 100 2889 100 137 6477 307 --:--:-- --:--:-- --:--:-- 6800 +* Connection #0 to host 10.150.152.15 left intact +* Closing connection 0 ++ export 'TOKEN={"access_token":"eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJrT0FBUDByODd4SWxHcmFXZXNRaWYzcVRCSVpyR1p4X295TmhEOTZQX3ZvIn0.eyJleHAiOjE2MTM2NzA3MzEsImlhdCI6MTYxMzY3MDQzMSwianRpIjoiZjE4N2ZiNWQtY2JiNy00NjJlLWJmYTYtZTRlMDExOTI2NzYzIiwiaXNzIjoiaHR0cHM6Ly8xMC4xNTAuMTUyLjE1Ojg0NDMvYXV0aC9yZWFsbXMvZmVnc3RnIiwic3ViIjoiNGM2MWI5NmUtZjYwZS00NTlhLWIyOWUtNjA5NjNkNmY3ZmFkIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoia3ViZSIsInNlc3Npb25fc3RhdGUiOiJmM2NjYjEzZS1kZmMxLTQyZWEtOWEwOS05YzI3ZmFjMzFmYmIiLCJhY3IiOiIxIiwic2NvcGUiOiJvcGVuaWQiLCJncm91cHMiO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bz3SMMHtG31-m6LZsFA","not-before-policy":0,"session_state":"f3ccb13e-dfc1-42ea-9a09-9c27fac31fbb","scope":"openid"}' diff --git a/05_k8s/openid/gettoken.sh b/05_k8s/openid/gettoken.sh index 577f2de..986edc4 100755 --- a/05_k8s/openid/gettoken.sh +++ b/05_k8s/openid/gettoken.sh @@ -52,7 +52,7 @@ export TOKEN=$(curl -X POST "$KEYCLOAK_URL" "$INSECURE" \ -d 'grant_type=password' \ -d "client_id=$CLIENT_ID" \ -d "client_secret=$CLIENT_SECRET" \ - -d "scope=groups openid" -v ) + -d "scope=openid" -v ) echo $TOKEN diff --git a/05_k8s/openid/out.lst b/05_k8s/openid/out.lst new file mode 100644 index 0000000..7bb6c57 --- /dev/null +++ b/05_k8s/openid/out.lst @@ -0,0 +1 @@ +eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJrT0FBUDByODd4SWxHcmFXZXNRaWYzcVRCSVpyR1p4X295TmhEOTZQX3ZvIn0.eyJleHAiOjE2MTM2NDk4MzUsImlhdCI6MTYxMzY0OTUzNSwiYXV0aF90aW1lIjowLCJqdGkiOiI0MzRmZTQxYy0xYWU2LTQwZTYtYWJkNi1hYjFkZjU5OWM5MzEiLCJpc3MiOiJodHRwczovLzEwLjE1MC4xNTIuMTU6ODQ0My9hdXRoL3JlYWxtcy9mZWdzdGciLCJhdWQiOiJrdWJlIiwic3ViIjoiNGM2MWI5NmUtZjYwZS00NTlhLWIyOWUtNjA5NjNkNmY3ZmFkIiwidHlwIjoiSUQiLCJhenAiOiJrdWJlIiwic2Vzc2lvbl9zdGF0ZSI6ImU2YzhlYjAwLTIwMTgtNGM1Ny1iMWQxLWI2NzkxZDM0MDdiMCIsImF0X2hhc2giOiJ1WElGSnpDSjF4bDhrUW05S1Vrd0RRIiwiYWNyIjoiMSJ9.gh3MCY1E6mCRbvM07daSdCJXafsKDKF18tmaM24BRnnndNGO-z0QnpUsRETbab923Fdi8GEeRjCkzbvWXRH7XbREbSwXEuIFcWIztW3--zqrTyhwM4ZllPOHjZZ6Q9d0X7FHSiVOpNqFV29pgipTiQ7IazxD71MMC4QdyY-YuR5IkIepXFx39ndXYAI0sVfA6IIgyKJ76nJAZ54rr5JxCtpKBQWAiaBKYEoA1dR3uazx7w2rJHOJTWBLHHLEhIkKDs8kkx-us6P0bdis0wq8S5RdTMdcvvrzoLNPrbyyhvusbBJFjeuRlWLKc-grLUOli2rYA1DRAcIDc-yk_ZKPJA diff --git a/05_k8s/openid/token.out b/05_k8s/openid/token.out new file mode 100644 index 0000000..d63007d --- /dev/null +++ b/05_k8s/openid/token.out @@ -0,0 +1 @@ +{"access_token":"eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJrT0FBUDByODd4SWxHcmFXZXNRaWYzcVRCSVpyR1p4X295TmhEOTZQX3ZvIn0.eyJleHAiOjE2MTM2NDk1NDcsImlhdCI6MTYxMzY0OTI0NywianRpIjoiMDI5Yzc5MWEtZmQxOS00YWVlLTkxNzItMTE4ZDhmMzI3MDU1IiwiaXNzIjoiaHR0cHM6Ly8xMC4xNTAuMTUyLjE1Ojg0NDMvYXV0aC9yZWFsbXMvZmVnc3RnIiwiYXVkIjoiYWNjb3VudCIsInN1YiI6IjRjNjFiOTZlLWY2MGUtNDU5YS1iMjllLTYwOTYzZDZmN2ZhZCIsInR5cCI6IkJlYXJlciIsImF6cCI6Imt1YmUiLCJzZXNzaW9uX3N0YXRlIjoiMmUxODFmMDAtZWJlOS00ZjAyLTgxMWYtODNiNzMyZjAyNjFjIiwiYWNyIjoiMSIsInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJvZmZsaW5lX2FjY2VzcyIsInVtYV9hdXRob3JpemF0aW9uIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19f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aW4iLCIvb2NwX2NmbWVfYWRtaW5zIl0sInByZWZlcnJlZF91c2VybmFtZSI6ImR2b2phbjIiLCJnaXZlbl9uYW1lIjoiSmFuIiwiZmFtaWx5X25hbWUiOiJEdm_FmcOhayIsImVtYWlsIjoiZHZvcmFrLmphbjJAaWZvcnR1bmEuY3oifQ.KZKODC1VobNkBfMgTc3KdtlbBQvWdR3JQHtVlO-UCmGcQvhry1y4fkqaYAajI6IQHBUbphdlqw_GONnzj2Em1tueEHwXDPzem0I2cVwkXf0cjY921t-eT-b_xBIYDA2C7i1eD0N28zkOviQQx6rLhcxSzwBbJgye8qOnQiJ8hsWemL4wy_EeKZ74qE7sIJaAmFkpqN5QG9hvVBunJ3WYMYF8T4t7kAzNdcOgZQuyiONQqAOT0L8yNwzWh9xhkwpoaoS7OV7kfveMkbktUE4KD_krnqkCuoHSFU8UGoBLRh2H-7CnYVtn_WcKQ6D6b4QgjQAAuORLUEB3jMFW7PfbIQ","not-before-policy":0,"session_state":"2e181f00-ebe9-4f02-811f-83b732f0261c","scope":"openid profile email"} diff --git a/08_keycloak/unsorted/scripts/gettoken.sh b/08_keycloak/unsorted/scripts/gettoken.sh index bc8c0e2..19d6989 100755 --- a/08_keycloak/unsorted/scripts/gettoken.sh +++ b/08_keycloak/unsorted/scripts/gettoken.sh @@ -18,7 +18,7 @@ USERNAME=$3 CLIENT_ID=$4 CLIENT_SECRET=$5 SECURE=$6 -PASSWORD=Heslo1234 +PASSWORD=Houston1 @@ -53,7 +53,7 @@ export TOKEN=$(curl -X POST "$KEYCLOAK_URL" "$INSECURE" \ -d 'grant_type=password' \ -d "client_id=$CLIENT_ID" \ -d "client_secret=$CLIENT_SECRET" \ - -d "scope=groups openid" 2>/dev/null ) + -d "scope=openid" 2>/dev/null ) echo $TOKEN diff --git a/08_keycloak/unsorted/scripts/out.json b/08_keycloak/unsorted/scripts/out.json new file mode 100644 index 0000000..441c648 --- /dev/null +++ b/08_keycloak/unsorted/scripts/out.json @@ -0,0 +1 @@ +{"issuer":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm","authorization_endpoint":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/protocol/openid-connect/auth","token_endpoint":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/protocol/openid-connect/token","introspection_endpoint":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/protocol/openid-connect/token/introspect","userinfo_endpoint":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/protocol/openid-connect/userinfo","end_session_endpoint":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/protocol/openid-connect/logout","jwks_uri":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/protocol/openid-connect/certs","check_session_iframe":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/protocol/openid-connect/login-status-iframe.html","grant_types_supported":["authorization_code","implicit","refresh_token","password","client_credentials"],"response_types_supported":["code","none","id_token","token","id_token token","code id_token","code token","code id_token token"],"subject_types_supported":["public","pairwise"],"id_token_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512"],"id_token_encryption_alg_values_supported":["RSA-OAEP","RSA1_5"],"id_token_encryption_enc_values_supported":["A256GCM","A192GCM","A128GCM","A128CBC-HS256","A192CBC-HS384","A256CBC-HS512"],"userinfo_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512","none"],"request_object_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512","none"],"response_modes_supported":["query","fragment","form_post"],"registration_endpoint":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/clients-registrations/openid-connect","token_endpoint_auth_methods_supported":["private_key_jwt","client_secret_basic","client_secret_post","tls_client_auth","client_secret_jwt"],"token_endpoint_auth_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512"],"claims_supported":["aud","sub","iss","auth_time","name","given_name","family_name","preferred_username","email","acr"],"claim_types_supported":["normal"],"claims_parameter_supported":false,"scopes_supported":["openid","feg.kasa","groups","microprofile-jwt","web-origins","roles","phone","address","email","profile","offline_access"],"request_parameter_supported":true,"request_uri_parameter_supported":true,"code_challenge_methods_supported":["plain","S256"],"tls_client_certificate_bound_access_tokens":true} diff --git a/08_keycloak/unsorted/scripts/token.out b/08_keycloak/unsorted/scripts/token.out new file mode 100644 index 0000000..e69de29 diff --git a/99_general/.~lock.uidplan.ods# b/99_general/.~lock.uidplan.ods# new file mode 100644 index 0000000..5195fb3 --- /dev/null +++ b/99_general/.~lock.uidplan.ods# @@ -0,0 +1 @@ +,veldrane,czlx-dvojan2,16.02.2021 14:16,file:///home/veldrane/.config/libreoffice/4; \ No newline at end of file diff --git a/99_general/uidplan.ods b/99_general/uidplan.ods new file mode 100644 index 0000000..c13eeea Binary files /dev/null and b/99_general/uidplan.ods differ