Inmates earn certificates for efforts