need some help with a AS3 declaration
I have the declaration below. I get "│ Error: posting as3 config failed for tenants:(Tenant_01) with error: Tenant Creation failed"
I am trying to create 2 virtual servers one HTTP and one HTTPS that share 2 pools.
I had a working declaration that created the HTTP part.
Question. Can irules and other objects be shared between 2 virtual servers ?
For irules i use URL as the source, can I do the same for certificate and key?
See the article below of how to declare objects in the shared as3 folder under the partition like pools:
Solved: AS3 referencing objects across applications - DevCentral (f5.com)
If the 2 apps/virtual servers are in the same tenant you can try the "use:" pointer to define the pool outside of the 2 virtual servers in the AS3 declaration
BIG-IP AS3 Declaration Purpose and Function (f5.com)
"persistenceMethods": [ {"use": "mypersist"} ] "mypersist": { "class": "Persist", "persistenceMethod": "cookie", "cookieName": "MYCOOKIE" }
Other than that for certficates I have not tried using url but I saw:
"pkcs12_crt_key_encr_url": { "class": "Certificate", "remark": "saves encr key in openssl format", "passphrase": { "ciphertext": "cGFzc3dvcmQ=", "protected": "eyJhbGciOiJkaXIiLCJlbmMiOiJub25lIn0", "ignoreChanges": true }, "pkcs12Options": { "keyImportFormat": "openssl-legacy" }, "pkcs12": { "url": "https://mycompany/certs/my_p12.p12" } }, "pkcs12_crt_key_bundle": { "class": "Certificate", "remark": "multiple certs, no passphrase, ignore change on redeploy", "pkcs12Options": { "keyImportFormat": "openssl-legacy", "ignoreChanges": true }, "pkcs12": { "url": "http://mycompany/certs/my_pfx.pfx" } }