Diagnosis of congenital syphilis involves a combination of clinical examination, maternal history, and laboratory tests. Blood tests such as the VDRL test or RPR test can detect antibodies against Treponema pallidum. Confirmatory tests, like the FTA-ABS test, can further substantiate the diagnosis. Additionally, lumbar puncture may be performed to examine cerebrospinal fluid for signs of neurosyphilis.