method

add_trusted_cert

ruby latest stable - Class: Gem::Security

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

add_trusted_cert(cert, opt = {})
public

Add certificate to trusted cert list.

Note: At the moment these are stored in OPT[:trust_dir], although that directory may change in the future.