Copy a certificate file as one line



  • Hi
    i have a .cert file, i need to copy it as one line excluding the line begin and end file, how can i do?
    i i select all the text when i paste it, i got only the first line
    thanks

    -----BEGIN CERTIFICATE-----
    HHTRHTRHTRHFDHGDFGHTNJYTNHDFUNJMYDHFJMYHDFMHCVHBGVR
    MRQwEgYDVQQDDAtHTRHTRHRTHTRHTRHTRHzA3MDdaFw0xOTAyMDgx
    NzI0MThaMBcxFTATBgNVBAMMDFAyU0NoaWxkQ2VydDCCASIwDQYJKoZIhvcNAQEB
    BQADggEPADCCAQGTHTHRHRTHRTHRTHf8/Ocfb2S5yZo+UZ0giYF26BEQP3Sin6ju0E
    Ox2nwfCe3HRA1tmnesRVmLgirpWOq87JslofFklojFL3ikv8N3+pL8Hdx7JJfos6
    2XnQ9HSBHKzGBGQj+aXeQViwokbcbrCxX03yFzOnFCz6C/d09FsNfgHLYM8dQfTg
    iC53h4SObn+TLY5BhxC0KtGFpXkmV6aHOWG1AIRiRzr1k2fzi9Otaa7fcYUORpTU
    lqcG2BGmVUH/uVJYazxJBgJeonKDfuAOQJYGAZ9b6D0oAmanCPeE/9uIk5z3v5HE
    v+iLKhhuRYnE9XqbUlO5RanTWUWbnGxQBDcPmBpdWU0CAwEAAaNnMGUwDgYDVR0P
    AQH/BAQDAgWgMBMGA1UdJQQMMAoGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFF/Gpp8Z
    sUVsVLy1d19tMOAOc+jmMB0GA1UdDgQWBBR6YOK7XsEpwzAehTdRa9empIHvPDAN
    fsdfgfgfdgfdgfdgfdgdfgdfgdfgdfgttoiopgtkroptgjklògmfdlkbnmdkgfljbnmlkb/HxADGfF8a
    1bYNPP2rZV9OSQJ/Yem3rvepXB/7IiInKhJ+zL9UkSNNHEnrEWshrCd4UktkkKXa
    oq6hbHlXn0RM88CtrwaD/wRp1MQGtvxkLXoO1xPoWTWdHlui0Q0GVyJYHMRIq+3t
    7CaJ1ROAHeHd3J8kKja1Pp7dfdafdfsdfsdfsfsdfsdfsdfsdfsdf/XIsjE+6uGi
    D+L5C8XNpcRlnGMYHYPOEi4IBd1D1tyQzaiFikPsQ8aFkA==
    -----END CERTIFICATE-----



  • @Aldo-Bonelli

    Copy the text between the begin and end lines to a temporary edit buffer (i.e., do File (menu) -> New).

    Then do Edit (menu) -> Blank Operations -> Remove Unnecessary Blank and EOL on that.

    Next select all of it and copy it to where you need it as a single line.


Log in to reply