Both were civilian specialists, the country’s defence ministry said in a statement.
Six other people – a mix of military and civilian personnel – were injured. The facility was not named.
Officials said the blast happened during testing of a rocket engine, an official said. But the explosion did not release harmful materials or radiation.