Hi,
When I try to create virtual host, I get Error 400:
{ "code":"messaging.config.beans.VirtualHostCreationProtocolValidationError", "message":"Virtual host creation failed due to SSSLInfo protocol inputs. Contact support to add new protocols", "contexts":[] }
this is a payload example:
{ hostAliases: [ 'vhost123.xxxx.com' ], interfaces: [], listenOptions: [], name: 'nip-tls', port: '443', properties: { property: [ [Object] ] }, retryOptions: [], sSLInfo: { ciphers: [], clientAuthEnabled: 'true', enabled: 'true', ignoreValidationErrors: false, keyAlias: 'vhost123.xxxx.com', keyStore: 'ref://vhost123-ref', protocols: [], trustStore: 'ref://xxxx-truststore-ref' }, propagateTLSInformation: { clientProperties: true, connectionProperties: false } }
Any idea ?
Solved! Go to Solution.
You will see that error if you provide a property for protocols, Edge only supports TLSv1.2 now.
For example, this will get the error you describe:
"properties": { "property": [ { "name": "ssl_protocols", "value": "TLSv1.2" } ] },
Also, it doesn't look like you are specifying properties correctly. Try removing the properties element.
See the properties reference here: https://docs.apigee.com/api-platform/fundamentals/virtual-host-property-reference
Also, if you change Accept and Content-Type between application/json and application/xml you will be able to see both XML and JSON representations.
You will see that error if you provide a property for protocols, Edge only supports TLSv1.2 now.
For example, this will get the error you describe:
"properties": { "property": [ { "name": "ssl_protocols", "value": "TLSv1.2" } ] },
Also, it doesn't look like you are specifying properties correctly. Try removing the properties element.
See the properties reference here: https://docs.apigee.com/api-platform/fundamentals/virtual-host-property-reference
Also, if you change Accept and Content-Type between application/json and application/xml you will be able to see both XML and JSON representations.
great, thanks 🙂
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |