404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.149.253.148: ~ $
**To create an RSA key pair and issue an X.509 certificate**

The following ``create-keys-and-certificate`` creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. Because this is the only time that AWS IoT provides the private key for this certificate, be sure to keep it in a secure location. ::

    aws iot create-keys-and-certificate \
        --certificate-pem-outfile "myTest.cert.pem" \
        --public-key-outfile "myTest.public.key" \
        --private-key-outfile "myTest.private.key"
        
Output::

    {
        "certificateArn": "arn:aws:iot:us-west-2:123456789012:cert/9894ba17925e663f1d29c23af4582b8e3b7619c31f3fbd93adcb51ae54b83dc2",
        "certificateId": "9894ba17925e663f1d29c23af4582b8e3b7619c31f3fbd93adcb51ae54b83dc2",
        "certificatePem": "
    -----BEGIN CERTIFICATE-----
    MIICiTCCEXAMPLE6m7oRw0uXOjANBgkqhkiG9w0BAQUFADCBiDELMAkGA1UEBhMC
    VVMxCzAJBgNVBAgEXAMPLEAwDgYDVQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6
    b24xFDASBgNVBAsTC0lBTSEXAMPLE2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAd
    BgkqhkiG9w0BCQEWEG5vb25lQGFtYEXAMPLEb20wHhcNMTEwNDI1MjA0NTIxWhcN
    MTIwNDI0MjA0NTIxWjCBiDELMAkGA1UEBhMCEXAMPLEJBgNVBAgTAldBMRAwDgYD
    VQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6b24xFDAEXAMPLEsTC0lBTSBDb25z
    b2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAdBgkqhkiG9w0BCQEXAMPLE25lQGFt
    YXpvbi5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMaK0dn+aEXAMPLE
    EXAMPLEfEvySWtC2XADZ4nB+BLYgVIk60CpiwsZ3G93vUEIO3IyNoH/f0wYK8m9T
    rDHudUZEXAMPLELG5M43q7Wgc/MbQITxOUSQv7c7ugFFDzQGBzZswY6786m86gpE
    Ibb3OhjZnzcvQAEXAMPLEWIMm2nrAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAtCu4
    nUhVVxYUntneD9+h8Mg9qEXAMPLEyExzyLwaxlAoo7TJHidbtS4J5iNmZgXL0Fkb
    FFBjvSfpJIlJ00zbhNYS5f6GuoEDEXAMPLEBHjJnyp378OD8uTs7fLvjx79LjSTb
    NYiytVbZPQUQ5Yaxu2jXnimvw3rrszlaEXAMPLE=
    -----END CERTIFICATE-----\n",
        "keyPair": {
            "PublicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkEXAMPLEQEFAAOCAQ8AMIIBCgKCAQEAEXAMPLE1nnyJwKSMHw4h\nMMEXAMPLEuuN/dMAS3fyce8DW/4+EXAMPLEyjmoF/YVF/gHr99VEEXAMPLE5VF13\n59VK7cEXAMPLE67GK+y+jikqXOgHh/xJTwo+sGpWEXAMPLEDz18xOd2ka4tCzuWEXAMPLEahJbYkCPUBSU8opVkR7qkEXAMPLE1DR6sx2HocliOOLtu6Fkw91swQWEXAMPLE\GB3ZPrNh0PzQYvjUStZeccyNCx2EXAMPLEvp9mQOUXP6plfgxwKRX2fEXAMPLEDa\nhJLXkX3rHU2xbxJSq7D+XEXAMPLEcw+LyFhI5mgFRl88eGdsAEXAMPLElnI9EesG\nFQIDAQAB\n-----END PUBLIC KEY-----\n",
            "PrivateKey": "-----BEGIN RSA PRIVATE KEY-----\nkey omittted for security reasons\n-----END RSA PRIVATE KEY-----\n"
        }
    }

For more infomration, see `Create and Register an AWS IoT Device Certificate <https://docs.aws.amazon.com/iot/latest/developerguide/device-certs-create.html>`__ in the **AWS IoT Developer Guide**.

Filemanager

Name Type Size Permission Actions
accept-certificate-transfer.rst File 615 B 0644
add-thing-to-billing-group.rst File 1.09 KB 0644
add-thing-to-thing-group.rst File 441 B 0644
associate-targets-with-job.rst File 692 B 0644
attach-policy.rst File 1.12 KB 0644
attach-security-profile.rst File 653 B 0644
attach-thing-principal.rst File 677 B 0644
cancel-audit-mitigation-actions-task.rst File 626 B 0755
cancel-audit-task.rst File 442 B 0644
cancel-certificate-transfer.rst File 663 B 0644
cancel-job-execution.rst File 550 B 0644
cancel-job.rst File 506 B 0644
clear-default-authorizer.rst File 545 B 0644
confirm-topic-rule-destination.rst File 1.4 KB 0644
create-audit-suppression.rst File 744 B 0644
create-authorizer.rst File 1.25 KB 0644
create-billing-group.rst File 590 B 0644
create-certificate-from-csr.rst File 813 B 0644
create-custom-metric.rst File 798 B 0644
create-dimension.rst File 628 B 0644
create-domain-configuration.rst File 709 B 0755
create-dynamic-thing-group.rst File 933 B 0644
create-job.rst File 1.49 KB 0644
create-keys-and-certificate.rst File 2.61 KB 0644
create-mitigation-action.rst File 1.29 KB 0755
create-ota-update.rst File 1.77 KB 0644
create-policy-version.rst File 1.1 KB 0644
create-policy.rst File 2.99 KB 0644
create-provisioning-claim.rst File 4.29 KB 0644
create-provisioning-template-version.rst File 2.87 KB 0644
create-provisioning-template.rst File 2.94 KB 0644
create-role-alias.rst File 587 B 0644
create-scheduled-audit.rst File 726 B 0644
create-security-profile.rst File 1.27 KB 0755
create-stream.rst File 1.32 KB 0644
create-thing-group.rst File 1.26 KB 0644
create-thing-type.rst File 659 B 0644
create-thing.rst File 1.23 KB 0644
create-topic-rule-destination.rst File 983 B 0644
create-topic-rule.rst File 1.22 KB 0644
delete-account-audit-configuration.rst File 617 B 0644
delete-audit-suppression.rst File 565 B 0644
delete-authorizer.rst File 485 B 0644
delete-billing-group.rst File 483 B 0644
delete-ca-certificate.rst File 472 B 0644
delete-certificate.rst File 458 B 0644
delete-custom-metric.rst File 417 B 0644
delete-dimension.rst File 407 B 0644
delete-domain-configuration.rst File 563 B 0755
delete-dynamic-thing-group.rst File 422 B 0644
delete-job-execution.rst File 547 B 0644
delete-job.rst File 478 B 0644
delete-mitigation-action.rst File 509 B 0755
delete-ota-update.rst File 427 B 0644
delete-policy-version.rst File 455 B 0644
delete-policy.rst File 374 B 0644
delete-provisioning-template-version.rst File 498 B 0644
delete-provisioning-template.rst File 434 B 0644
delete-registration-code.rst File 391 B 0644
delete-role-alias.rst File 431 B 0644
delete-scheduled-audit.rst File 468 B 0644
delete-security-profile.rst File 415 B 0644
delete-stream.rst File 344 B 0644
delete-thing-group.rst File 452 B 0644
delete-thing-type.rst File 384 B 0644
delete-thing.rst File 422 B 0644
delete-topic-rule-destination.rst File 537 B 0644
delete-topic-rule.rst File 362 B 0644
delete-v2-logging-level.rst File 303 B 0644
deprecate-thing-type.rst File 806 B 0644
describe-account-audit-configuration.rst File 1.85 KB 0644
describe-audit-finding.rst File 1.63 KB 0755
describe-audit-mitigation-actions-task.rst File 2.01 KB 0755
describe-audit-suppression.rst File 1.22 KB 0644
describe-audit-task.rst File 1.68 KB 0644
describe-authorizer.rst File 1.4 KB 0644
describe-billing-group.rst File 746 B 0644
describe-ca-certificate.rst File 2.21 KB 0644
describe-certificate.rst File 2.15 KB 0644
describe-custom-metric.rst File 787 B 0644
describe-default-authorizer.rst File 546 B 0644
describe-dimension.rst File 756 B 0644
describe-domain-configuration.rst File 953 B 0755
describe-endpoint.rst File 966 B 0644
describe-event-configurations.rst File 1.31 KB 0644
describe-index.rst File 532 B 0644
describe-job-execution.rst File 835 B 0644
describe-job.rst File 1.35 KB 0644
describe-mitigation-action.rst File 1.26 KB 0755
describe-provisioning-template-version.rst File 2.44 KB 0644
describe-provisioning-template.rst File 2.67 KB 0644
describe-role-alias.rst File 831 B 0644
describe-scheduled-audit.rst File 1.05 KB 0644
describe-security-profile.rst File 1.75 KB 0644
describe-stream.rst File 1.09 KB 0644
describe-thing-group.rst File 1021 B 0644
describe-thing-type.rst File 921 B 0644
describe-thing.rst File 829 B 0644
detach-policy.rst File 1019 B 0644
detach-security-profile.rst File 617 B 0644
detach-thing-principal.rst File 597 B 0644
disable-topic-rule.rst File 390 B 0644
enable-topic-rule.rst File 401 B 0644
get-behavior-model-training-summaries.rst File 2.23 KB 0644
get-cardinality.rst File 1.84 KB 0755
get-effective-policies.rst File 2.37 KB 0644
get-indexing-configuration.rst File 636 B 0644
get-job-document.rst File 535 B 0644
get-logging-options.rst File 379 B 0644
get-ota-update.rst File 1.82 KB 0644
get-percentiles.rst File 2.21 KB 0755
get-policy-version.rst File 1006 B 0644
get-policy.rst File 940 B 0644
get-registration-code.rst File 490 B 0644
get-statistics.rst File 659 B 0644
get-topic-rule-destination.rst File 813 B 0644
get-topic-rule.rst File 1.27 KB 0644
get-v2-logging-options.rst File 425 B 0644
list-active-violations.rst File 3.88 KB 0644
list-attached-policies.rst File 1.42 KB 0644
list-audit-findings.rst File 6.09 KB 0644
list-audit-mitigation-actions-executions.rst File 1.28 KB 0755
list-audit-mitigation-actions-tasks.rst File 853 B 0644
list-audit-suppressions.rst File 737 B 0644
list-audit-tasks.rst File 2.07 KB 0644
list-authorizers.rst File 928 B 0644
list-billing-groups.rst File 610 B 0644
list-ca-certificates.rst File 796 B 0644
list-certificates-by-ca.rst File 933 B 0644
list-certificates.rst File 2.57 KB 0644
list-custom-metrics.rst File 453 B 0644
list-dimensions.rst File 527 B 0644
list-domain-configurations.rst File 1.78 KB 0755
list-indices.rst File 482 B 0644
list-job-executions-for-job.rst File 732 B 0644
list-job-executions-for-thing.rst File 826 B 0644
list-jobs.rst File 714 B 0644
list-mitigation-actions.rst File 2.14 KB 0644
list-mitigations-actions.rst File 2.14 KB 0755
list-ota-updates.rst File 574 B 0644
list-outgoing-certificates.rst File 971 B 0644
list-policies.rst File 909 B 0644
list-policy-versions.rst File 759 B 0644
list-principal-things.rst File 594 B 0644
list-provisioning-template-versions.rst File 801 B 0644
list-provisioning-templates.rst File 813 B 0644
list-role-aliases.rst File 464 B 0644
list-scheduled-audits.rst File 957 B 0644
list-security-profiles-for-target.rst File 959 B 0644
list-security-profiles.rst File 619 B 0644
list-streams.rst File 911 B 0644
list-tags-for-resource.rst File 728 B 0644
list-targets-for-policy.rst File 718 B 0644
list-targets-for-security-profile.rst File 777 B 0644
list-thing-groups-for-thing.rst File 763 B 0644
list-thing-groups.rst File 724 B 0644
list-thing-principals.rst File 682 B 0644
list-thing-types.rst File 944 B 0644
list-things-in-billing-group.rst File 521 B 0644
list-things-in-thing-group.rst File 474 B 0644
list-things.rst File 2.67 KB 0644
list-topic-rule-destinations.rst File 790 B 0644
list-topic-rules.rst File 1.02 KB 0644
list-v2-logging-levels.rst File 476 B 0644
list-violation-events.rst File 4.16 KB 0644
register-ca-certificate.rst File 848 B 0644
register-certificate.rst File 944 B 0644
register-thing.rst File 2.69 KB 0644
reject-certificate-transfer.rst File 542 B 0644
remove-thing-from-billing-group.rst File 484 B 0644
remove-thing-from-thing-group.rst File 447 B 0644
replace-topic-rule.rst File 967 B 0644
search-index.rst File 1.76 KB 0644
set-default-authorizer.rst File 580 B 0644
set-default-policy-version.rst File 337 B 0644
set-v2-logging-level.rst File 352 B 0644
set-v2-logging-options.rst File 364 B 0644
start-audit-mitigation-actions-task.rst File 888 B 0755
start-on-demand-audit-task.rst File 577 B 0644
tag-resource.rst File 553 B 0644
test-authorization.rst File 2.03 KB 0644
test-invoke-authorizer.rst File 1.12 KB 0644
transfer-certificate.rst File 763 B 0644
untag-resource.rst File 378 B 0644
update-account-audit-configuration.rst File 1.25 KB 0644
update-audit-suppression.rst File 635 B 0644
update-authorizer.rst File 559 B 0644
update-billing-group.rst File 537 B 0644
update-ca-certificate.rst File 516 B 0644
update-certificate.rst File 494 B 0644
update-custom-metric.rst File 875 B 0644
update-dimension.rst File 809 B 0644
update-domain-configuration.rst File 696 B 0755
update-dynamic-thing-group.rst File 692 B 0644
update-event-configurations.rst File 504 B 0644
update-indexing-configuration.rst File 578 B 0644
update-job.rst File 1.34 KB 0644
update-mitigation-action.rst File 1.01 KB 0755
update-provisioning-template.rst File 663 B 0644
update-role-alias.rst File 559 B 0644
update-scheduled-audit.rst File 678 B 0644
update-security-profile.rst File 2.4 KB 0755
update-stream.rst File 1.11 KB 0644
update-thing-group.rst File 617 B 0644
update-thing-groups-for-thing.rst File 617 B 0644
update-thing.rst File 676 B 0644
update-topic-rule-destination.rst File 1.72 KB 0644
validate-security-profile-behaviors.rst File 2.02 KB 0644