Ross Ulbricht, the convicted founder of Silk Road, has been sentenced to life in prison for running the underground online drug bazaar, signaling the government’s seriousness in combating Internet crimes.

The punishment is a heavy price to pay for the 31-year-old, who had pleaded with the judge to spare him his old age and “leave a small light at the end of the tunnel.”

The...