Jail for man who put navy personnel at risk by selling unfit tech