A judge sentenced a 28-year-old man for two counts of producing child sex abuse material in an online "sextortion" scheme.