Re: Getting Error: self-signed certificate in certificate chain

Manisha
New Contributor

Getting Error: self-signed certificate in certificate chain

Hi There,

I am trying to connect to 

https://sandbox.api.visa.com/vmss/v2/searchTerminatedRequest using 
 
passing all mentioned certs but getting authorizationError: SELF_SIGNED_CERTS_IN_CHAIN 
status code: 400

 

 

2 REPLIES 2
jenn_kh
Community Moderator

Re: Getting Error: self-signed certificate in certificate chain

Hi, @ManishaThank you for reaching out! An agent will look into this and get back to you as soon as possible. If any community member knows a solution, feel free to reply here.

API_Products
Visa Developer Support Specialist

Re: Getting Error: self-signed certificate in certificate chain

Hi @Manisha,

 

I tested the Visa Merchant Screening Service API and got a successful request/response payload. Please see my payload below and try your test again. Make sure that Message Level Encryption is enabled. Share your result with us.  

 

End Point https://sandbox.api.visa.com/vmss/v2/searchTerminatedRequest
Method POST
Request
{"searchTerminatedRequest": {
"terminatedRecordSearchCriteria": {
"legalName": "Snap Photoshop Ltd",
"webAddresses": [
"https://u.nu",
"https://u1.nu"
],
"businessEmailAddress": "billsmith@snapphoto.com",
"address": {
"countryOrRegion": "AT",
"stateOrProvince": "CA",
"city": "St Albans",
"streetAddress": "80 Wood Street",
"zipOrPostalCode": "SA82GF"
},
"taxID": "GB123456788",
"businessRegistrationNumber": "452349600005",
"tradeOverInternet": false,
"merchantCategoryCodes": ["5411"],
"principals": [{
"passportNumber": "07043453",
"businessEmailAddress": "rbonigi@snapphoto.com",
"driverLicenseNumber": "07043453",
"name": "Bill Smith",
"principalID": "07043454",
"residentIDOrNationalID": "07043453",
"SSN": "123-12-1235",
"businessPhoneNumber": "+861071111223"
}],
"category": "0",
"businessPhoneNumbers": ["+861071111223"],
"DBAName": "Snap Photoshop Ltd"
},
"acquirerBID": "10033027",
"retroAlertIfNoMatch": false,
"globalSearch": true,
"acquirerCountryOrRegion": "AT"
}}
Response
{
"searchTerminatedResponse": {
"searchRequestRef": {
"terminatedRecordSearchCriteria": {
"legalName": "Snap Photoshop Ltd",
"webAddresses": [
"https://u.nu",
"https://u1.nu"
],
"businessEmailAddress": "billsmith@snapphoto.com",
"address": {
"stateOrProvince": "CA",
"countryOrRegion": "AT",
"streetAddress": "80 Wood Street",
"city": "St Albans",
"zipOrPostalCode": "SA82GF"
},
"taxID": "GB123456788",
"businessRegistrationNumber": "452349600005",
"merchantCategoryCodes": ["5411"],
"tradeOverInternet": false,
"principals": [{
"passportNumber": "07043453",
"businessEmailAddress": "rbonigi@snapphoto.com",
"driverLicenseNumber": "07043453",
"name": "Bill Smith",
"principalID": "07043454",
"residentIDOrNationalID": "07043453",
"businessPhoneNumber": "+861071111223",
"SSN": "123-12-1235"
}],
"businessPhoneNumbers": ["+861071111223"],
"DBAName": "Snap Photoshop Ltd"
},
"searchRequestRefID": "8957377",
"acquirerBID": "10033027",
"globalSearch": true,
"acquirerCountryOrRegion": "AT"
},
"possibleMatches": {
"matchedRecords": [],
"totalCount": 0
}
},
"status": {
"statusDescription": "SUCCESS",
"statusCode": "API000"
}
}
Response Header
Status Code: 200
Server : nginx
Date : Wed, 18 Oct 2023 18:28:40 GMT
Content-Type : application/json
Content-Length : 1870
Connection : keep-alive
X-SERVED-BY : b9f55d8
X-CORRELATION-ID : 1697653720_207_446723121_b9f55d8_VDP_WS
response-message-id : 1582442b-cc33-49a9-95bc-de7106a00893
response-message-ts : 2023-10-18T18:28:40.574359861Z
X-AGS-Request-ID : v3:8651:sandbox:73c009:325c9558e3acafcd46933d59582d9588
X-APP-STATUS : 200
Cache-Control : no-cache, no-store, must-revalidate
X-Frame-Options : SAMEORIGIN
X-XSS-Protection : 0
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains
Pragma : no-cache
Expires : -1
Content-Security-Policy-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-Content-Security-Policy-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-WebKit-CSP-Report-Only : default-src 'self' https://*.v.me https://*.visa.com;script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.visa.com https://*.v.me;img-src 'self' https://*.v.me https://*.visa.com https://*.unica.com https://ad.doubleclick.net;style-src 'self' 'unsafe-inline' https://*.visa.com;object-src https://*.v.me https://*.visa.com data:;report-uri /logging/logCSPReport;
X-XSS-Protection : 1; mode=block
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000;includeSubdomains;always

 




Thanks,

Diana H.



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.