f5-appsvcs-extension: Unable to import ssl certificate

Environment

  • Application Services Version: 3.38.0
  • BIG-IP Version: 15.115

We’re in the middle of working out a plan for out migration from physical appliances to as3 managed vm’s however I’ve just hit a snag with the certificate handling, after updating to 3.38.0 to get around a problem importing one particular cert bundle we’re now experiencing issues with another bundle, the base64 data for the cert has been been checked to ensure it’s not a error that’s occurred during encoding but the cert bundle decodes without issue and is verified by openssl.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Submit the following declaration:
{
	"class": "ADC",
	"schemaVersion": "3.23.0",
	"id": "shared",
	"Common": {
		"class": "Tenant",
		"Shared": {
			"class": "Application",
			"quovadis.crt": {
				"class": "CA_Bundle",
				"bundle": {
					"base64": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlGVERDQ0F6U2dBd0lCQWdJVVNKZ3Q0cWtzc3puaHlQa3pOWUoxMCtUNGdsVXdEUVlKS29aSWh2Y05BUUVMDQpCUUF3UlRFTE1Ba0dBMVVFQmhNQ1FrMHhHVEFYQmdOVkJBb1RFRkYxYjFaaFpHbHpJRXhwYldsMFpXUXhHekFaDQpCZ05WQkFNVEVsRjFiMVpoWkdseklGSnZiM1FnUTBFZ01qQWVGdzB4TXpBMk1ERXhNek0xTURWYUZ3MHlNekEyDQpNREV4TXpNMU1EVmFNRTB4Q3pBSkJnTlZCQVlUQWtKTk1Sa3dGd1lEVlFRS0V4QlJkVzlXWVdScGN5Qk1hVzFwDQpkR1ZrTVNNd0lRWURWUVFERXhwUmRXOVdZV1JwY3lCSGJHOWlZV3dnVTFOTUlFbERRU0JITWpDQ0FTSXdEUVlKDQpLb1pJaHZjTkFRRUJCUUFEZ2dFUEFEQ0NBUW9DZ2dFQkFPSGhoV21Vd0k5WCtqVCt3YmhvNUptUXFZaDZ6bGUzDQowT1MxVk1JWWZkRERHZWlwWTREM3Q5elNHYU5hc0dEWmRyUWRNbFkxOFd5am5FS2hpNG9qTlpkQmV3VnBoQ2lPDQp6aDVOaTJBazhi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wbS94ZDJnTk5XUWpyTGhWb1FQUg0KVFVJWjNQaDFXVmFqK2FoSmVmaXZEcmtSb0h5M2F1MDAwTFltWWpnYWh3ejQ2UDB1MDVCL0I1RXFIZForWElXRA0KbWJBNENEL3BYdmsxQitUSlltNVhmNmRRbGZlNnlKdm1qcUlCeGRabXYzbGg4endjNGJtQ1hGMmd3K25ZU0wwWg0Kb2hFVUdXNnloaHRvUGtnM0dvaTNYWlplbk1mdkoySUk0cEVaWE5MeElkMjZGMEtDbDNHQlV6R3BuL1o5WXI5eQ0KNGFPVEhjeUtKbG9KT05ETzF3MkFGclI0cFRxSFRJMktwZFZHbC9Jc0VMbThWQ0xBQVZCcFE1NzBzdTl0K096YQ0KOGVPeDc5K1JqMVFxQ3lYQkpobkVVaEFGWmRXQ0VPckNNYzB1DQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tDQo="
				}
			},
			"template": "shared"
		}
	}
}
  1. Observe the following error response:
        {
            "code": 422,
            "message": "declaration failed",
            "response": "01070712:3: unable to validate certificate, invalid x509 file (/Common/Shared/quovadis.crt).",
            "host": "localhost",
            "tenant": "Common",
            "runTime": 2235
        },

Expected Behavior

Addition of the cert to common

Actual Behavior

Cert fails validation but checking the data shows no issue with the base64 encoded version (as mentioned this has been verified by decoding the data and using openssl to verify)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (5 by maintainers)

Most upvoted comments

Thank you. I have added this issue to our internal product backlog as AUTOTOOL-3408

This has been resolved and it would be available in AS3 40.0