本文簡要介紹 python 語言中 arcgis.gis.admin.SSLCertificates.get
的用法。
用法:
get(alias_name)
返回:
- 類
~arcgis.gis.admin.SSLCertificate
對象
通過別名獲取單個 SSLCertificate 對象
Parameter
Description
alias_name
必需的字符串。證書的通用名稱。
USAGE: Print out information about a specific SSL Certificate by alias name from arcgis.gis import GIS gis = GIS("https://yourportal.com/portal", "portaladmin", "password") # Get the SSL Certificate class sslmgr = gis.admin.security.ssl # Get a specific certificate alias and print information ssl = sslmgr.get('portal') for prop in ssl.properties: print(prop, ssl.properties[prop])])) # Output aliasName portal issuer CN=YOURPORTAL.COM, OU=Self Signed Certificate subject CN=YOURPORTAL.COM, OU=Self Signed Certificate subjectAlternativeNames [] validFrom Fri Sep 15 07:46:45 EDT 2017 validUntil Sun Jul 24 07:46:45 EDT 2050 keyAlgorithm RSA keySize 2048 serialNumber 503b23c6 version 3 signatureAlgorithm SHA256withRSA keyUsage [] md5Fingerprint 76d695d72e46b30ea90013676d559faa sha1Fingerprint 6f36513757c28ad43c2df5e4c7cee581ad18dd1e sha256Fingerprint a051aab19d1ed8ceee7322572b3b1b2abd1ed680d0a1d81d0da84cf0e1a1b6cb
相關用法
- Python ArcGIS SSLCertificates.import_certificate用法及代碼示例
- Python ArcGIS SSLCertificates.list用法及代碼示例
- Python ArcGIS Site.delete用法及代碼示例
- Python ArcGIS StoryMap.move用法及代碼示例
- Python ArcGIS Site.export_site用法及代碼示例
- Python arcgis.mapping.SceneLayerManager.update_tiles用法及代碼示例
- Python ArcGIS SiteManager.get用法及代碼示例
- Python ArcGIS SceneLayer用法及代碼示例
- Python ArcGIS Site.update_theme用法及代碼示例
- Python ArcGIS System.index_status用法及代碼示例
- Python ArcGIS StreamLayer用法及代碼示例
- Python ArcGIS Site.update_layout用法及代碼示例
- Python ArcGIS StoryMap.theme用法及代碼示例
- Python arcgis.mapping.SceneLayerManager.import_tiles用法及代碼示例
- Python ArcGIS SavedSearchesManager.update用法及代碼示例
- Python arcgis.mapping.SceneLayerManager.delete_tiles用法及代碼示例
- Python ArcGIS StoryMap.add用法及代碼示例
- Python ArcGIS Server用法及代碼示例
- Python ArcGIS StoryMap.credits用法及代碼示例
- Python ArcGIS StoryMap.cover用法及代碼示例
- Python ArcGIS Sidecar用法及代碼示例
- Python ArcGIS StoryMap.get用法及代碼示例
- Python arcgis.mapping.SceneLayerManager.edit_tile_service用法及代碼示例
- Python ArcGIS SiteManager.get_by_domain用法及代碼示例
- Python ArcGIS SiteManager.add用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 arcgis.gis.admin.SSLCertificates.get。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。