consulting my old notes, the following things are true:
a) a compact, connected Lie group is semisimple iff its Killing form is negative-definite
b) a Lie algebra over an algebraically closed field of characteristic $0$ is semisimple iff its Killing form is non-degenerate