Configure SSL before starting MaxScale
This makes sure that the servers are correctly configured before MaxScale sees them.
This commit is contained in:
		@ -438,11 +438,6 @@ TestConnections::TestConnections(int argc, char* argv[])
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (maxscale_init)
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        init_maxscales();
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    if (backend_ssl)
 | 
					    if (backend_ssl)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        tprintf("Configuring backends for ssl \n");
 | 
					        tprintf("Configuring backends for ssl \n");
 | 
				
			||||||
@ -454,6 +449,11 @@ TestConnections::TestConnections(int argc, char* argv[])
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (maxscale_init)
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        init_maxscales();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (mdbci_call_needed)
 | 
					    if (mdbci_call_needed)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        int ec;
 | 
					        int ec;
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user