0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

apicコマンドでAPI呼び出し用の証明書更新

0
Posted at

つらつらコマンドやらを入れてしまっていますが、時間があったら整理して見やすくしたいと思います。

apic login

export server=https://{platform-api URL}
apic login --server ${server} --realm admin/default-idp-1 -u admin -p XXXXXXX

※CMCのrealm(admin/default-idp-1)を選択

gatewayサービスのAPI呼び出し用のTLSサーバープロファイルを確認

アベイラビリティーゾーンの確認

apic availability-zones:list --server ${server} --org admin
availability-zone-default   https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/availability-zones/79499931-0592-4483-98d6-f23bdff7ab71

gatewayサービスの確認

apic gateway-services:list --server ${server} --org admin --availability-zone availability-zone-default
gateway    [state: ready]   https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/availability-zones/79499931-0592-4483-98d6-f23bdff7ab71/gateway-services/f325fd47-420d-4cec-8708-eba77af2b5f4

gatewayサービスで使用しているAPI呼び出し用のTLSサーバープロファイルを確認

apic gateway-services:get --server ${server} --org admin  --availability-zone availability-zone-default  gateway
gateway   gateway.yaml   https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/availability-zones/79499931-0592-4483-98d6-f23bdff7ab71/gateway-services/f325fd47-420d-4cec-8708-eba77af2b5f4

yamlの確認

gateway.yaml
type: 'gateway_service'
gateway_service_type: 'datapower-api-gateway'
api_version: '2.0.0'
id: 'f325fd47-420d-4cec-8708-eba77af2b5f4'
name: 'gateway'
title: 'gateway'
state: 'ready'
integration_url: 'https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/cloud/integrations/gateway-service/2a823583-302e-4194-8fc2-97b36de28e4a'
endpoint: 'https://rgwd.apps.itz-gq90h1.hub01-lb.techzone.ibm.com'
api_endpoint_base: 'https://rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com'
tls_client_profile_url: 'https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/tls-client-profiles/9040b152-3a13-49af-99b2-d3f880591270'
sni:
  - host: '*'
    tls_server_profile_url: 'https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/tls-server-profiles/9fbd47bf-8e13-4b06-885b-ec1553fa14df'
oauth_shared_secret: '********'
visibility:
  type: 'public'
owned: true
configuration:
  managed_by: 'apim'
  domain_name: 'apiconnect'
  gateway_version: '6.0.0.0'
analytics_service_url: 'https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/availability-zones/79499931-0592-4483-98d6-f23bdff7ab71/analytics-services/1c773deb-0737-4928-97de-250a186eb58f'
webhook_url: 'https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/cloud/webhooks/886aac92-e38d-45ba-b834-0f828b9778dd'
availability_zone_url: 'https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/availability-zones/79499931-0592-4483-98d6-f23bdff7ab71'
service_version: 'IDG.10.6.0.6'
ldap_cxn_pool:
  enabled: false
  idle_timeout: 120
  max_pool_size: 35
  document_cache_size: 0
communication_kind: 'external'
communication_to_analytics_kind: 'external'
communication_to_analytics_with_jwt: false
ai_gateway_enabled: true
service_supported_features:
  - 'batch'
  - 'feedback_2'
  - 'feedback_2_1'
  - 'api_protection_source'
  - 'external_oauth_mgmt'
  - 'policy_visibility'
  - 'event_config_logs'
  - 'ldap_cxn_pool'
created_at: '2026-03-23T19:01:24.000Z'
updated_at: '2026-03-24T16:53:00.000Z'
org_url: 'https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0'
url: 'https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/availability-zones/79499931-0592-4483-98d6-f23bdff7ab71/gateway-services/f325fd47-420d-4cec-8708-eba77af2b5f4'

証明書確認

gatewayサービスで使用しているtls-server-profileを確認

gateway.yamlのtls_server_profile_urlの値と同じものを確認

% apic tls-server-profiles:list-all --server ${server} --org admin
tls-server-profile-default:1.0.0   https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/tls-server-profiles/9fbd47bf-8e13-4b06-885b-ec1553fa14df

TLSサーバープロファイルで使用している鍵を確認

apic tls-server-profiles:get --server ${server} --org admin tls-server-profile-default:1.0.0
tls-server-profile-default:1.0.0   tls-server-profile-default_1.0.0.yaml   https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/tls-server-profiles/9fbd47bf-8e13-4b06-885b-ec1553fa14df

yamlの確認

tls-server-profile-default_1.0.0.yaml
type: 'tls_server_profile'
api_version: '2.0.0'
id: '9fbd47bf-8e13-4b06-885b-ec1553fa14df'
name: 'tls-server-profile-default'
version: '1.0.0'
title: 'Default TLS server profile'
summary: 'Default TLS server profile for gateway services for API execution'
protocols:
  - 'tls_v1.2'
  - 'tls_v1.3'
ciphers:
  - 'TLS_AES_256_GCM_SHA384'
  - 'TLS_CHACHA20_POLY1305_SHA256'
  - 'TLS_AES_128_GCM_SHA256'
  - 'ECDHE_ECDSA_WITH_AES_256_GCM_SHA384'
  - 'ECDHE_ECDSA_WITH_AES_256_CBC_SHA384'
  - 'ECDHE_ECDSA_WITH_AES_128_GCM_SHA256'
  - 'ECDHE_ECDSA_WITH_AES_128_CBC_SHA256'
  - 'ECDHE_ECDSA_WITH_AES_256_CBC_SHA'
  - 'ECDHE_ECDSA_WITH_AES_128_CBC_SHA'
  - 'ECDHE_RSA_WITH_AES_256_GCM_SHA384'
  - 'ECDHE_RSA_WITH_AES_256_CBC_SHA384'
  - 'ECDHE_RSA_WITH_AES_128_GCM_SHA256'
  - 'ECDHE_RSA_WITH_AES_128_CBC_SHA256'
  - 'ECDHE_RSA_WITH_AES_256_CBC_SHA'
  - 'ECDHE_RSA_WITH_AES_128_CBC_SHA'
  - 'DHE_RSA_WITH_AES_256_GCM_SHA384'
  - 'DHE_RSA_WITH_AES_256_CBC_SHA256'
  - 'DHE_RSA_WITH_AES_128_GCM_SHA256'
  - 'DHE_RSA_WITH_AES_128_CBC_SHA256'
  - 'DHE_RSA_WITH_AES_256_CBC_SHA'
  - 'DHE_RSA_WITH_AES_128_CBC_SHA'
elliptic_curve:
  - 'secp521r1'
  - 'secp384r1'
  - 'secp256k1'
mutual_authentication: 'none'
limit_renegotiation: true
keystore_url: 'https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/keystores/70ec2327-5814-4636-b29f-c3f4d4e320a6'
created_at: '2026-03-21T17:21:29.000Z'
updated_at: '2026-03-21T17:21:29.000Z'
url: 'https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/tls-server-profiles/9fbd47bf-8e13-4b06-885b-ec1553fa14df'

鍵一覧を取得

TLSサーバープロファイルのyamlのkeystore_urlと同じ値を確認

apic keystores:list --server ${server} --org admin
portal-api-admin-default-keystore                    https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/keystores/fe67b265-73a7-453c-ba45-381fa0733f23
analytics-ingestion-default-keystore                 https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/keystores/6c81dddf-d156-4542-b238-ba3b6786314e
gateway-management-client-default-keystore           https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/keystores/7bd3d108-5613-4e9d-8d02-e8072ae917fd
Default-keystore-for-self-signed-token-signing-key   https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/keystores/57d11f7d-55d6-40a4-8263-11e2cf3c8c98
Default-keystore-for-id_token-signing-key            https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/keystores/f13f1710-b078-4fef-9de3-f8aee7764c78
Default-keystore-for-access_token-signing-key        https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/keystores/168f2a49-325b-47cb-90e3-bd8774b09185
Default-keystore-for-temporary-token-signing-key     https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/keystores/74e50f71-f589-46d1-bdc3-cc60515057e8
tls-server-for-gateway-services-default-keystore     https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/keystores/70ec2327-5814-4636-b29f-c3f4d4e320a6

鍵の確認

apic keystores:get --server ${server} --org admin tls-server-for-gateway-services-default-keystore
tls-server-for-gateway-services-default-keystore   tls-server-for-gateway-services-default-keystore.yaml   https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/keystores/70ec2327-5814-4636-b29f-c3f4d4e320a6
tls-server-for-gateway-services-default-keystore.yaml
type: 'keystore'
api_version: '2.0.0'
id: '70ec2327-5814-4636-b29f-c3f4d4e320a6'
name: 'tls-server-for-gateway-services-default-keystore'
title: 'Default TLS server keystore'
summary: 'Default TLS server keystore for gateway services for API execution'
private_key_entry: '********'
public_certificate_entry:
  pem: "-----BEGIN CERTIFICATE-----\nMIIDdTCCAl2gAwIBAgIUVSh8P4EW7/v+PONGY0Wm4Ykzs5MwDQYJKoZIhvcNAQEL\nBQAwYzELMAkGA1UEBhMCSlAxDjAMBgNVBAgMBVRva3lvMQ8wDQYDVQQHDAZOZXJp\nbWExDTALBgNVBAoMBFRFU1QxETAPBgNVBAsMCFRFU1RURVNUMREwDwYDVQQDDAhL\neXVyaW1hbjAeFw0yNjAzMjUwMDM0MzBaFw0yNzAzMjUwMDM0MzBaMGMxCzAJBgNV\nBAYTAkpQMQ4wDAYDVQQIDAVUb2t5bzEPMA0GA1UEBwwGTmVyaW1hMQ0wCwYDVQQK\nDARURVNUMREwDwYDVQQLDAhURVNUVEVTVDERMA8GA1UEAwwIS3l1cmltYW4wggEi\nMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC1QzUSdxvkSL1n2m1ynzyrRSKC\nMnXRo3fCfqFHjYdO23KknCXYef+NjH4vok2AQ2WJob5WLQWTio63AocJ9lwL4Dhy\ngqJxMBy5g07AihO/KwF04DANUtsJLm6G9u2jnDi/7xKJfyIt/V4LI514pA+LJ1t4\nn0cf2cl9gXFtoJ9hLWUFbJwWutWZqkdNAzziWbiQjh43gyzF7hBCnOJjgef7Dqmg\nHIRPSG4zcVvLF6Aw+nQywWCwWiwBg3Vyjg1bxiLTJgy+3QJ6+bwuC59uwJ1A6kt3\nIqEiyE5sTJI5vURggFpSvFYDVUnmD7wDiQef7IyLemYl14NOBuM3X938NCijAgMB\nAAGjITAfMB0GA1UdDgQWBBQF/5dorkNVRfqAWlwxzt4abZWqrzANBgkqhkiG9w0B\nAQsFAAOCAQEAbKvyQMmeVuYkgjgo11aekKTcQUlyJaIJ+6QWp8WXMLLc7WYGzEyX\nlPQ21DKhPuYJZ81YMf6efGAKDXRkL8vOI8T4i/Rm83b3dbHsjvrpxo+jlAvoikoP\nB0gI9qF7Cgy9ThwZlC7oBqvXW5TddnPDArAt8qrBwWDRm0YKCrBokZKrjZMe3bw3\nuUmKWMP8Wzg0VL8sFSeQjtqbwVNjIFmcp7WDlUbhv5ELwqpkVNdy99/93PEM/OMx\nREw3ZPQXQQF6PV7Bui6lfuYdKEtv2LVn3anduEf4Fez7nAhK+OivYmEYbVQE1Ep9\nVb6z7VWgmtey4G+EnKNCi0aWq6MKpZpgFw==\n-----END CERTIFICATE-----\n"
  certificate_info: '{"version":2,"subject":{"countryName":"JP","stateOrProvinceName":"Tokyo","localityName":"Nerima","organizationName":"TEST","organizationalUnitName":"TESTTEST","commonName":"Kyuriman"},"issuer":{"countryName":"JP","stateOrProvinceName":"Tokyo","localityName":"Nerima","organizationName":"TEST","organizationalUnitName":"TESTTEST","commonName":"Kyuriman"},"serial":"55287C3F8116EFFBFE3CE3466345A6E18933B393","notBefore":"2026-03-25T00:34:30.000Z","notAfter":"2027-03-25T00:34:30.000Z","subjectHash":"d3dab828","signatureAlgorithm":"sha256WithRSAEncryption","fingerPrint":"11:D1:BB:77:83:89:08:DB:49:C4:33:AB:C5:E8:DA:B4:F3:64:FF:2E","publicKey":{"algorithm":"sha256WithRSAEncryption"},"altNames":[],"extensions":{"subjectKeyIdentifier":"05:FF:97:68:AE:43:55:45:FA:80:5A:5C:31:CE:DE:1A:6D:95:AA:AF"},"fingerprints":{"sha1":{"fingerprint":"11:D1:BB:77:83:89:08:DB:49:C4:33:AB:C5:E8:DA:B4:F3:64:FF:2E"},"sha256":{"fingerprint":"E9:71:00:4F:2D:90:00:4C:74:47:FB:9B:91:7C:35:E3:28:33:F2:3E:A3:65:6F:9F:96:2B:13:51:81:8A:91:14"}}}'
public_key_jwk:
  e: 'AQAB'
  'n': 'tUM1Encb5Ei9Z9ptcp88q0UigjJ10aN3wn6hR42HTttypJwl2Hn_jYx-L6JNgENliaG-Vi0Fk4qOtwKHCfZcC-A4coKicTAcuYNOwIoTvysBdOAwDVLbCS5uhvbto5w4v-8SiX8iLf1eCyOdeKQPiydbeJ9HH9nJfYFxbaCfYS1lBWycFrrVmapHTQM84lm4kI4eN4Msxe4QQpziY4Hn-w6poByET0huM3FbyxegMPp0MsFgsFosAYN1co4NW8Yi0yYMvt0Cevm8LgufbsCdQOpLdyKhIshObEySOb1EYIBaUrxWA1VJ5g-8A4kHn-yMi3pmJdeDTgbjN1_d_DQoow'
  alg: 'RS256'
  kid: '6d45c272-01b8-4f73-97a6-aa54af562851'
  kty: 'RSA'
  use: 'sig'
trusted_certificate_entries: []
created_at: '2026-03-21T17:21:28.000Z'
updated_at: '2026-03-25T00:43:32.000Z'
url: 'https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/keystores/70ec2327-5814-4636-b29f-c3f4d4e320a6'

※有効期限の確認はnot-afterの値を見る

証明書更新

yamlファイルの編集

pem/p12形式で配置する必要がある
以下のように編集する

type: 'keystore'
api_version: '2.0.0'
id: '70ec2327-5814-4636-b29f-c3f4d4e320a6'
name: 'tls-server-for-gateway-services-default-keystore'
title: 'Default TLS server keystore'
summary: 'Default TLS server keystore for gateway services for API execution'
private_key_entry: |
  -----BEGIN PRIVATE KEY-----
  MIIEugIBADANBgkqhkiG9w0BAQEFAASCBKQwggSgAgEAAoIBAQC5QO5Hq75dN6Sr
...略...
  ZN4Fkjve12q6+siBIkw=
  -----END PRIVATE KEY-----
public_certificate_entry:
  pem: |
    -----BEGIN CERTIFICATE-----
    MIIDpzCCAo+gAwIBAgIUVkXdYGZIV4bfRSCKmjuhN3O0+rYwDQYJKoZIhvcNAQEL
...略...
    LjSRJaDRIvmZzm3vp8/4nqb9K70jl2bHLIOd
    -----END CERTIFICATE-----
trusted_certificate_entries: []
created_at: '2026-03-21T17:21:28.000Z'
url: 'https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/keystores/70ec2327-5814-4636-b29f-c3f4d4e320a6'

更新したyamlを適用

apic keystores:update --server ${server} --org admin tls-server-for-gateway-services-default-keystore tls-server-for-gateway-services-default-keystore_update.yaml
tls-server-for-gateway-services-default-keystore   https://api.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/api/orgs/4a1c27d8-d676-4611-9eac-12679ab855a0/keystores/70ec2327-5814-4636-b29f-c3f4d4e320a6

更新前

GUI確認

スクリーンショット 2026-03-25 10.29.51.png

API呼び出し

% curl -ki https://rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/porg/testcatalog/testapi -H "x-ibm-client-id: b3780925bd90ac2b28cb5c664770e232" -v
* Host rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com:443 was resolved.
* IPv6: (none)
* IPv4: 169.44.164.140
*   Trying 169.44.164.140:443...
* Connected to rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com (169.44.164.140) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384 / [blank] / UNDEF
* ALPN: server accepted h2
* Server certificate:
*  subject: C=JP; ST=Tokyo; L=Nerima; O=TEST; OU=TESTTEST; CN=Kyuriman
*  start date: Mar 25 00:34:30 2026 GMT
*  expire date: Mar 25 00:34:30 2027 GMT
*  issuer: C=JP; ST=Tokyo; L=Nerima; O=TEST; OU=TESTTEST; CN=Kyuriman
*  SSL certificate verify result: self signed certificate (18), continuing anyway.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/porg/testcatalog/testapi
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com]
* [HTTP/2] [1] [:path: /porg/testcatalog/testapi]
* [HTTP/2] [1] [user-agent: curl/8.7.1]
* [HTTP/2] [1] [accept: */*]
* [HTTP/2] [1] [x-ibm-client-id: b3780925bd90ac2b28cb5c664770e232]
> GET /porg/testcatalog/testapi HTTP/2
> Host: rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com
> User-Agent: curl/8.7.1
> Accept: */*
> x-ibm-client-id: b3780925bd90ac2b28cb5c664770e232
>
* Request completely sent off
< HTTP/2 200
HTTP/2 200
< user-agent: curl/8.7.1
user-agent: curl/8.7.1
< accept: */*
accept: */*
< x-client-ip: 10.131.0.2
x-client-ip: 10.131.0.2
< x-global-transaction-id: 65587a5969c3302a00012cd0
x-global-transaction-id: 65587a5969c3302a00012cd0
< x-ratelimit-limit: name=default,100;
x-ratelimit-limit: name=default,100;
< x-ratelimit-remaining: name=default,99;
x-ratelimit-remaining: name=default,99;
< date: Wed, 25 Mar 2026 00:45:30 GMT
date: Wed, 25 Mar 2026 00:45:30 GMT
< content-type: text/plain
content-type: text/plain
<

* Connection #0 to host rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com left intact
{"test": "okj"}

更新後

GUI確認

スクリーンショット 2026-03-25 10.30.09.png

API呼び出し

curl -ki https://rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/porg/testcatalog/testapi -H "x-ibm-client-id: b3780925bd90ac2b28cb5c664770e232" -v
* Host rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com:443 was resolved.
* IPv6: (none)
* IPv4: 169.44.164.140
*   Trying 169.44.164.140:443...
* Connected to rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com (169.44.164.140) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384 / [blank] / UNDEF
* ALPN: server accepted h2
* Server certificate:
*  subject: C=JP; ST=Tokyo; L=Nerima; O=TEST; OU=TESTTEST; CN=Kyuriman
*  start date: Mar 25 01:27:34 2026 GMT
*  expire date: Mar 25 01:27:34 2027 GMT
*  issuer: C=JP; ST=Tokyo; L=Nerima; O=TEST; OU=TESTTEST; CN=Kyuriman
*  SSL certificate verify result: self signed certificate (18), continuing anyway.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com/porg/testcatalog/testapi
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com]
* [HTTP/2] [1] [:path: /porg/testcatalog/testapi]
* [HTTP/2] [1] [user-agent: curl/8.7.1]
* [HTTP/2] [1] [accept: */*]
* [HTTP/2] [1] [x-ibm-client-id: b3780925bd90ac2b28cb5c664770e232]
> GET /porg/testcatalog/testapi HTTP/2
> Host: rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com
> User-Agent: curl/8.7.1
> Accept: */*
> x-ibm-client-id: b3780925bd90ac2b28cb5c664770e232
>
* Request completely sent off
< HTTP/2 200
HTTP/2 200
< user-agent: curl/8.7.1
user-agent: curl/8.7.1
< accept: */*
accept: */*
< x-client-ip: 10.129.2.2
x-client-ip: 10.129.2.2
< x-global-transaction-id: 65587a5969c33aca00007d43
x-global-transaction-id: 65587a5969c33aca00007d43
< x-ratelimit-limit: name=default,100;
x-ratelimit-limit: name=default,100;
< x-ratelimit-remaining: name=default,99;
x-ratelimit-remaining: name=default,99;
< date: Wed, 25 Mar 2026 01:30:50 GMT
date: Wed, 25 Mar 2026 01:30:50 GMT
< content-type: text/plain
content-type: text/plain
<

* Connection #0 to host rgw.apps.itz-gq90h1.hub01-lb.techzone.ibm.com left intact
{"test": "okj"}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?