Using a self signed SSL certificate just for a web service -


i have web service clients have , want data that's sent server encrypted. test used self signed ssl certificate. know when use self signed cert , when navigate whatever address using web browser warn it's unsafe etc.

i wondering if i'm going run problems if used certificate instead of verified 1 when web service goes live?

also don't have domain name server, going use ip address given isp, ok certificate, because everywhere read them people talking using them domain names?

an ssl certificate issued domain , signed issuing authority. when browser connects server server presents certificate client. client verifies certificate checking if domain accessing same 1 mentioned in certificate. also, verifies trust chain. means issuer's certificate should valid. if issuer not root signing authority issuer's issuer's certificate verified. and, root signing authority should trusted means root signing authority should in truststore. major signing authorities verisign, thawte etc default in jdk trustore hence if have certificate signed them not have issues in verification of trust chain. if certificate signed authority not trusted need import issuer's certificate in trust chain manually.

now, when using self signed certificate, entity whom certificate issued root signing authority. , hence certificate should imported truststore manually. need ssl handshake through. alone not solve problem. since, not using domain name, ip changed every time restart server if obtaining server ip automatically through dhcp server. if case trusted self signed certificate won't work once ip changes. because, certificate issued ip , once ip changes certificate become invalid. around need static ip address server network admin. generate self signed certificate static ip. ask clients add server certificate in trust store.

this bit tedious clients. but, if have fixed number of clients , client machines under control add server certificate client trust store yourself. but, if server open or have huge number of client suggest certificate signed known , trusted certification authority. again, still need have static ip irrespective of signs certificate unless server gets domain name.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -