Fix ssl generation issue