When I copy SSL certificates from windows files, it makes it hard for me to put them directly on server to configure SSL certificates. Because UNIX treats the end of line differently. A CTRL-M character is visibly displayed at the end of each line as ^M in vi.
Have a look at the following content. Its an SSL key which I copied from a windows file to a normal file in Linux. You find that each line is ended with a control character. ie. ^M or CTRL+M.