RSK1, an essential cellular kinase for Kaposi's sarcoma-associated herpesvirus (KSHV) replication, is highly phosphorylated and SUMOylated during KSHV lytic cycle, which determine the substrate phosphorylation and specificity of RSK1, respectively. However, the SUMO E3 ligase responsible for attaching SUMO to RSK1 has not yet been identified. By genome-wide screening, we found that KSHV ORF45 is necessary and sufficient to enhance RSK1 SUMOylation. Mechanistically, KSHV ORF45 binds to SUMOs via two classic SUMO-interacting motifs (SIMs) and functions as a SIM-dependent SUMO E3 ligase for RSK1. Mutations on these ORF45 SIMs resulted in much lower lytic gene expressions, viral DNA replication, and mature progeny virus production. Interestingly, KSHV ORF45 controls RSK1 SUMOylation and phosphorylation via two separated functional regions: SIMs and amino acid 17-90, respectively, which do not affect each other. Similar to KSHV ORF45, ORF45 of Rhesus Macaque Rhadinovirus has only one SIM and also increases RSK1 SUMOylation in a SIM-dependent manner, while other ORF45 homologues do not have this function. Our work characterized ORF45 as a novel virus encoded SUMO E3 ligase, which is required for ORF45-RSK1 axis-mediated KSHV lytic gene expression.