-
Couldn't load subscription status.
- Fork 8
Merge and validate secured production mode in WLS for OCI #272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
https://jira.oraclecorp.com/jira/browse/JCS-14321 This PR contains policy related changes required to access OCI certificate service API & other miscellaneous changes.
…thread pool in WLS for OCI
#240) **Testing** 1. One node secured production mode Non-JRF provisioning is successful. <img width="1414" alt="Screenshot 2024-02-29 at 9 33 39 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/512e249f-c23e-4f63-b5e4-45df3b0ca8bb"> 2. Block obvious names for WebLogic administrator user: - Changed the default value of username to "wls_user". <img width="940" alt="Screenshot 2024-02-29 at 9 12 32 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/2cf08291-5ade-43f1-b26f-d51521e2e199"> - When username is given as "weblogic", it is blocked. <img width="940" alt="Screenshot 2024-02-29 at 9 12 47 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/c2877a21-e3ae-4f7e-a302-5fea059f6a36"> - When username is given as "weblogic1", it is accepted. <img width="940" alt="Screenshot 2024-02-29 at 9 12 58 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/ffc425c8-4a7d-4823-93b5-84c331eb51d2"> - Error is thrown when username as weblogic is given, when running through CLI. <img width="789" alt="Screenshot 2024-02-29 at 9 16 57 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/10d64269-4615-4856-b117-15373ac8b788"> <img width="1405" alt="Screenshot 2024-02-29 at 9 17 15 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/36a7b77e-fbd9-4a29-a994-7c3e808edd06"> 3. Throttle the thread pool: - Throttle the thread pool added to the UI with the default value of 65536. <img width="701" alt="Screenshot 2024-02-29 at 9 14 04 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/249f0669-cf34-4d62-9b58-ecb5fab9b661"> - Stack created with the thread_pool_limit of 60000 assigned in tfvars file. <img width="794" alt="Screenshot 2024-02-29 at 9 17 56 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/7ffc2227-6491-4b52-93e9-6d6ad9fcbbc5"> - Same is visible in admin console for admin server and managed server. <img width="1256" alt="Screenshot 2024-02-29 at 9 36 04 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/8e8969ba-2bc1-4144-b569-89e585fd5dc4"> <img width="1256" alt="Screenshot 2024-02-29 at 9 36 16 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/6c603c53-3224-475f-93b0-76a3fcb664f2">
… secure production mode.
**Testing** 1. Additional admin user added in the UI with the default username as 'wls_user_1'. <img width="970" alt="Screenshot 2024-03-01 at 4 13 06 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/c5018d33-1523-4e07-8fea-410a370fd5de"> 2. Usernames 'weblogic' and 'administrator' are blocked in UI, while 'weblogic1' works fine. <img width="970" alt="Screenshot 2024-03-01 at 4 16 15 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/eae6e89b-5189-4f83-82f0-a12ee768a2c7"> <img width="970" alt="Screenshot 2024-03-01 at 4 16 35 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/926204d3-33d0-4af8-a327-aa6ca3047418"> <img width="970" alt="Screenshot 2024-03-01 at 4 18 30 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/dd1f31c6-955e-492d-96fb-b1ecc3a9a2e3"> 3. Username 'weblogic' is blocked in terraform. <img width="970" alt="Screenshot 2024-03-01 at 7 46 56 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/ce5b04cf-beee-44d7-9b35-0ee03114d98f"> <img width="1414" alt="Screenshot 2024-03-01 at 7 48 31 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/79bc2626-b619-4e18-9be0-8dd3fd9b00f3">
This MR is to configure OCI Load Balancer Backend Set to use SSL Testing results are uploaded to associated jira https://jira.oraclecorp.com/jira/browse/JCS-14325
…nistration port instead of all ports for wls subnet cidr in case of secured production mode
…wls_ingress_internal_security_rule_secure_mode
…G which opens all ports for wls subnet cidr. (#255) Apply job succeeded for 2 node provisioning   Modified the secrule from managed server NSG which now opens for administration port 9002 instead of all ports for wls subnet cidr in case of secured production mode 
https://jira.oraclecorp.com/jira/browse/JCS-14446 https://orahub.oci.oraclecorp.com/weblogic-cloud/wls-oci/-/merge_requests/1043 This MR includes the following fixes: 1. Removed variable wls_cluster_mc_port as its not being used in the code. 2. Fixed the certificate validity date 3. Removed SecuredExternAdmin channel with opens port 7002 from base-model-jrf-secure-mode.yaml & base-model-nonjrf-secure-mode.yaml 4. Changed secure production mode to secured production mode in the code at multiple places
https://jira.oraclecorp.com/jira/browse/JCS-14450 https://orahub.oci.oraclecorp.com/weblogic-cloud/wls-oci/-/merge_requests/1046 This MR includes: 1. Adding missing policy for wls_secondary_admin_password_id 2. Changing the policy for certificate authority from inspect -> read
Add metadata for certificate OCID https://jira.oraclecorp.com/jira/browse/JCS-14450
…de (#269) This MR is to open port 9072 for weblogic subnet CIDR in managed server NSG in secure mode
…re production mode
…re production mode (#271) Testing shown in Orahub
**Testing** 1. Errors shown when no rules are added for Security Lists. <img width="1500" alt="Screenshot 2024-05-23 at 7 10 17 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/8dfa4598-36a7-48fd-932d-c4ecb0c7fec5"> 2. No errors, when all the required rules are added for Security Lists. <img width="1500" alt="Screenshot 2024-05-23 at 7 16 41 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/3135e11a-0a69-4eb2-a5e0-668a44492170"> <img width="1500" alt="Screenshot 2024-05-23 at 7 16 51 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/b8b9f6ee-cf51-4509-bad7-10c32bd5424f"> <img width="1500" alt="Screenshot 2024-05-23 at 7 17 00 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/79e379e2-6321-48c5-b426-41c1b8b41999"> <img width="1500" alt="Screenshot 2024-05-23 at 10 58 56 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/f6a55d43-3283-4402-9e17-2b078829c314"> 3. Errors shown when no rules are added for Network Security Groups. <img width="1500" alt="Screenshot 2024-05-23 at 7 27 44 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/e4974b5a-41b7-4a9e-94be-81496b36ad17"> 4. No errors, when all the required rules are added for Network Security Groups. <img width="1500" alt="Screenshot 2024-05-23 at 8 00 16 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/33c5dab7-f29a-40df-8927-075371d8fd57"> <img width="1500" alt="Screenshot 2024-05-23 at 7 31 25 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/c9d4b1c0-0e95-4178-9c86-1290b4a06847"> <img width="1500" alt="Screenshot 2024-05-23 at 7 32 18 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/b2631154-8cbd-4299-a851-f9515b8dc1cd"> <img width="1500" alt="Screenshot 2024-05-23 at 7 33 04 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/d439f9f1-6fab-477c-90f5-7ec02ca5c19c"> <img width="1500" alt="Screenshot 2024-05-23 at 7 33 39 PM" src="https://github.com/oracle-quickstart/oci-weblogic-server/assets/148204723/8e5cdcd8-a698-4507-8af6-6a92f59be93e">
…i-weblogic-server into topic-secure-production-mode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved without review since I've been reviewing the merges into the topic branch all along. We'll find any issues in testing before making release branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tim has already approved it. I am approving because Mahuwa has to merge these changes.
https://jira.oraclecorp.com/jira/browse/JCS-14433