I read from Wiki about TSL/SSL but there is something it seems a bit confusing for me
In order to generate the session keys used for the secure connection, the client encrypts a random number (RN) with the server's public key (PbK), and sends the result to the server. Only the server should be able to decrypt it (with its private key (PvK)): this is the one fact that makes the keys hidden from third parties, since only the server and the client have access to this data. The client knows PbK and RN, and the server knows PvK and (after decryption of the client's message) RN. A third party is only able to know RN if PvK has been compromised. From the random number, both parties generate key material for encryption and decryption.
It says that if the PvK is compromised then RN is also compromised, isn't that RN is the key to encrypt the message and what is the point if it is compromised? Thanks in advance!!