Using https://example.com, I wonder if it is possible to use its SSL certificate for ftps://example.com ? The used certificate is basic like (RapidSSL, PositiveSSL, etc ...)
2 Answers
Sure, why shouldn't it? A server certificate identifies a host (by DNS name or IP), not a service. All services on a host can (IMHO even should) use the same certificate.
-
So, it is possible to use http, ftp, on the same static IP since the domain name is the same ?– Sami-LOct 17, 2012 at 23:25
-
Yes. A client will basically compare the server's name (the one it connects to) with the subject of the certificate -- if they match the cert is accepted. [ignoring wildcards, CAs, etc. for now] So in theory a DNS based certificate will even work with a dynamic IP, as long as the client's name resolution is up to date.– mschuettOct 17, 2012 at 23:39