Skip to content

Commit be2d9a9

Browse files
authored
Merge pull request #1010 from sarette/clodgenix-sdk
Added section to Resolve CloudGenix SDK error
2 parents 79fe896 + 2a3f864 commit be2d9a9

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

products/sdwan/docs/sdwan_gsg_sdk.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,45 @@ Your script can use the following snippet to extract the AUTH_TOKEN information
136136
CGX_USER = None
137137
CGX_PASSWORD = None
138138

139+
## Resolve SSL Certificate Errors in CloudGenix SDK
140+
141+
### Problem 
142+
143+
If you use CloudGenix SDK 6.5.2 b1 or an older version and encounter SSL issues, this is due to a certificate change from GoDaddy to DigiCert.
144+
145+
146+
### Solution 
147+
148+
To resolve this issue you may follow one of the following options:
149+
#### Option 1
150+
Install Cloudgenix 6.5.2.b4 version:
151+
152+
1. Run the following command to uninstall Cloudgenix:
153+
154+
`pip uninstall cloudgenix`
155+
156+
2. Update CloudGenix SDK:
157+
Run any of the following commands to upgrade to CloudGenix SDK 6.5.2b4:
158+
159+
`pip install cloudgenix` 
160+
161+
or 
162+
163+
`pip install cloudgenix==6.5.2.b4`
164+
165+
This updates the SDK by adding the missing DigiCert CA, which resolves the SSL issue without requiring any code modifications.
166+
167+
#### Option 2
168+
Migrate to Prisma SASE SDK:
169+
You can switch to the Prisma SASE SDK by making the following changes in your script:
170+
171+
- Change `import cloudgenix` to `import prisma_sase`
172+
173+
- Change` sdk = cloudgenix.API()` to `sdk = prisma_sase.API()`
174+
175+
- Change `sdk.interactive.use_token(auth)` to `sdk.interactive.login_secret(client_id=cid, client_secret=csecret, tsg_id=tsg)`
176+
177+
**Note**: To obtain the `client_id`, `client_secret`, and `tsg_id`, navigate to the **Strata Cloud Manager** user interface and generate a service account with the appropriate access role. Use those values in your script.
139178
## API Methods
140179

141180
Prisma SD-WAN SDK supports all the standard RESTful HTTP API methods GET, PUT, PATCH, DELETE and

0 commit comments

Comments
 (0)