-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathrequests.http
More file actions
36 lines (28 loc) · 900 Bytes
/
requests.http
File metadata and controls
36 lines (28 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@base_address = https://localhost:8443
@username = admin
@password = admin
###
GET {{base_address}}/api/tlsmanager/importedcertificates
Accept: application/json
X-Requested-With: IntelliJ
Authorization: Basic {{username}} {{password}}
###
GET {{base_address}}/api/tlsmanager/keystore
Accept: application/octet-stream
X-Requested-With: IntelliJ
Authorization: Basic {{username}} {{password}}
>> {{$historyFolder}}/keystore.p12
###
POST {{base_address}}/api/tlsmanager/truststore
X-Requested-With: IntelliJ
Authorization: Basic {{username}} {{password}}
Content-Type: multipart/form-data; boundary=RequestBoundary
--RequestBoundary
Content-Disposition: form-data; name="password"
Content-Type: text/plain
changeit
--RequestBoundary
Content-Disposition: form-data; name="file"; filename=truststore.p12
Content-Type: application/octet-stream
< docker/certs/new_truststore.p12
--RequestBoundary--