About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Question & Answer
Question
What are the curl commands to add a CA signer cert and personal server cert to a kdb file on the Web Gateway Appliance?
Answer
The following curl commands may be used:
Add CA Signer Cert
curl -k -v -H "Accept:application/json" \
-H "Content-type:application/json" \
--user admin:password \
-X POST https://wgahostname/ssl_certificates/pdsrv/signer_cert \
--data-binary @ca_data.txt
where the file ca_data.txt contains,
{
"label":"SOMECA",
"trust":"yes",
"cert":"
-----BEGIN CERTIFICATE-----
MIIC+jCCAeKgAwIBAgIId2sRSxDs0oowDQYJKoZIhvcNAQEFBQAwPTELMAkGA1UE
BhMCVVMxDDAKBgNVBAoTA0lCTTEMMAoGA1UECxMDSVNTMRIwEAYDVQQDEwlJU0FN
NzAwQ0EwHhcNMTMwNDMwMjIzMjExWhcNMzMwMTE2MjIzMjExWjA9MQswCQYDVQQG
EwJVUzEMMAoGA1UEChMDSUJNMQwwCgYDVQQLEwNJU1MxEjAQBgNVBAMTCUlTQU03
MDBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKtMHxotD+zlBJAD
iyGlacZyv0PDnNQFH4oSImwJqKuuvWE9Q3D/wsPFsD7XAItvMy+edbCQfSxrCtOf
YSWPYs+r7JX2GplgRaT+3bX+PBfpfda5w3iERecGpuQ+52XiEAlGB5Gf/wcQ17Um
iRQTRQFajlpXp9mGGsLta57T7MpT7DN8wSNOh0Xc5WeA8P+zlSVkuBKhXSaTHnYU
F75muYbAB7glqWVGcatbn28/gHyZj1RJWJLKVrnOon1Rbe3my8vsJrwMrx1t+N2s
KlklClM0kTIRRM0+quKE94jaNR5zmpEJ4+/RWWAt1mmJ/OpVt1jViKyH7uUGkiUv
sY/gj+0CAwEAATANBgkqhkiG9w0BAQUFAAOCAQEAWkGtM+Y5X5CPuDYQwCR7npm2
mo7cXo3hEnhW1o3QkrAY56lyXspQXckn+T/o/H0tjqyF0KBVZa5lHlI7cPYmwIDJ
3HefuHEfAGUu72C7NmfCL7LgosBVvTlR7dlbI6vzKAg/5FUR/TSdeZ2s72z+D66t
FAkeOoXfN1BVHIZdqojsxekCgJ7VYWEhLsCq+ec14kzz+LczzkSqNlDsqiPCcnv1
e+tUE91rLlhLNRbOn+el4AawGgnZYR2AvMhE3Wqkfoxk7dmjKS2JmKie6430/bZ2
Br3xMcFfPQuG1mYIOTx6+J6jzVKwW6Vk6xwq6Mog60wGXl8rPTdQnl5nXodH7A==
-----END CERTIFICATE-----
"
}
Import Personal Cert
curl -k -v -H "Accept:application/json" \
--user admin:password \
-F "operation=import" \
-F "cert=@PersonalCert.p12;type=application/octet-stream" \
-F "password=p12_file_password" \
-X POST https://wgahostname/ssl_certificates/kdbname/personal_cert
[{"Product":{"code":"SSPREK","label":"Tivoli Access Manager for e-business"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"WebSeal AMP Appliance","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]
Product Synonym
ISAM
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21651899
Manage My Notification Subscriptions